[PATCH] Dockerfile: Remove high UID/GID

When running Docker with user namespace remapping, the UID/GID of the files must be in the 0 - 65535 range. One toolchain's tar file included files outside of that range and thus I could not run the image on my GitLab runners. This patch fixes that and the U-Boot CI completes just fine in my environment.
Signed-off-by: Harm Berntsen harm.berntsen@nedap.com CC: Tom Rini trini@konsulko.com --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Dockerfile b/Dockerfile index 3bcd4b9..247122e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,7 +29,7 @@ RUN wget -O - https://mirrors.edge.kernel.org/pub/tools/crosstool/files/bin/x86_
# Manually install other toolchains RUN wget -O - https://github.com/foss-xtensa/toolchain/releases/download/2018.02/x86_64-20... | tar -C /opt -xz -RUN wget -O - https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/d... | tar -C /opt -xz +RUN wget -O - https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/d... | tar --no-same-owner -C /opt -xz RUN wget -O - https://github.com/vincentzwc/prebuilt-nds32-toolchain/releases/download/201... | tar -C /opt -xz
# Update and install things from apt now

On Wed, Sep 02, 2020 at 02:33:22PM +0200, Harm Berntsen wrote:
When running Docker with user namespace remapping, the UID/GID of the files must be in the 0 - 65535 range. One toolchain's tar file included files outside of that range and thus I could not run the image on my GitLab runners. This patch fixes that and the U-Boot CI completes just fine in my environment.
Signed-off-by: Harm Berntsen harm.berntsen@nedap.com CC: Tom Rini trini@konsulko.com
Applied to gitlab-ci-runner/master, thanks!
participants (2)
-
Harm Berntsen
-
Tom Rini