-
We're attempting to move one of our images from using miniconda3 as the base image to micromamba (1.5-bookworm-slim). Our repository contains a Makefile that has commands to build the image and run a few tests. The build is nothing special, and so is the Dockerfile. (We briefly switch to The test command is as follows:
This eventually fails on my Ubuntu system because the script is not able to write to the /tmp/test-output directory because it is owned by When I explicitly add Short of setting the user to Happy to share relevant details of Dockerfile, system settings etc., if required. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hello @navneethc. I believe what you are seeing is due to a difference in the file permissions on On the Ubuntu system without using |
Beta Was this translation helpful? Give feedback.
Great. Can you try
docker run -u "$(id -u):$(id -g)" ...
?