Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker build failing #1419

Closed
gardenrobot opened this issue Mar 10, 2024 · 2 comments
Closed

Docker build failing #1419

gardenrobot opened this issue Mar 10, 2024 · 2 comments
Assignees
Labels
Milestone

Comments

@gardenrobot
Copy link
Contributor

gardenrobot commented Mar 10, 2024

I noticed the docker build was failing, I suspect from this change. It seems COPY --chown requires a group when given a username. I've written a PR that sets it to nogroup.

docker build -t tmp -f Dockerfile .
Step 9/14 : COPY --chown=radicale --from=builder /app/venv /app
ERROR: Service 'radicale' failed to build: unable to convert uid/gid chown string to host mapping: can't find gid for group radicale: no such group: radicale

#1420

@pbiering
Copy link
Collaborator

would it be not better to create the group radicale in advance and specify it then with using --gid radicale

 adduser radicale --home /var/lib/radicale --system --uid 1000 --disabled-password

@pbiering pbiering added the need:reporter feedback feedback from reporter required label Mar 11, 2024
@gardenrobot
Copy link
Contributor Author

yeah, that'd be closer to a non-docker environment. updated

@pbiering pbiering added bug and removed need:reporter feedback feedback from reporter required labels Mar 13, 2024
@pbiering pbiering added this to the 3.1.9 milestone Mar 13, 2024
@pbiering pbiering self-assigned this Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants