See Linear task
Depends on D4177
Differential D4178
[keyserver] Run Docker as non-root user ashoat on Jun 1 2022, 2:15 AM. Authored by Tags None Referenced Files
Details
See Linear task Depends on D4177 Make sure docker-compose down -v && docker-compose up --build still works
Diff Detail
Event TimelineComment Actions We can clean this up by creating the /home/comm/app directory as comm with the mkdir command in RUN step.
Comment Actions Thanks for the reference! I did read through services/identity/Dockerfile, and thought I had tried that... but it's very possible I did something wrong, as I wasn't operating on much sleep last night. Will give it another try Comment Actions Yeah, confirming that doesn't work. I think the issue is that COPY is still run as root, even if you specify a USER. (Or perhaps it's just that directories created as a consequence of running COPY are created as root – not 100% sure.) |