From 87f6f2d5bd6313196cfb38665b23723fb722baca Mon Sep 17 00:00:00 2001 From: Cian Johnston Date: Thu, 13 Jun 2024 13:37:23 +0000 Subject: [PATCH 1/2] fix(dogfood): Dockerfile: add explicit --chown to COPY directive --- dogfood/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dogfood/Dockerfile b/dogfood/Dockerfile index 19723853aa7ac..7e0cae20b1038 100644 --- a/dogfood/Dockerfile +++ b/dogfood/Dockerfile @@ -90,7 +90,7 @@ SHELL ["/bin/bash", "-c"] # the default mirror with teraswitch. RUN apt-get update && apt-get install --yes ca-certificates -COPY files / +COPY --chown root:root files / # Install packages from apt repositories ARG DEBIAN_FRONTEND="noninteractive" From 79b1ca81fbfb649a56db25de2cd0b44fc3f37f0d Mon Sep 17 00:00:00 2001 From: Cian Johnston Date: Thu, 13 Jun 2024 13:41:24 +0000 Subject: [PATCH 2/2] fixup! fix(dogfood): Dockerfile: add explicit --chown to COPY directive --- dogfood/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dogfood/Dockerfile b/dogfood/Dockerfile index 7e0cae20b1038..27f90a5752eaa 100644 --- a/dogfood/Dockerfile +++ b/dogfood/Dockerfile @@ -90,7 +90,7 @@ SHELL ["/bin/bash", "-c"] # the default mirror with teraswitch. RUN apt-get update && apt-get install --yes ca-certificates -COPY --chown root:root files / +COPY --chown=root:root files / # Install packages from apt repositories ARG DEBIAN_FRONTEND="noninteractive"