From b3aca1d1a1e7a2e08458518001d1842830771f9d Mon Sep 17 00:00:00 2001 From: Cian Johnston Date: Wed, 3 Jul 2024 17:27:34 +0100 Subject: [PATCH 1/2] Revert "fix(dogfood/Dockerfile): add explicit --chown to COPY directive (#13569)" This reverts commit c587af7c0e2bf5d186cc396210a57a880bc98add. --- dogfood/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dogfood/Dockerfile b/dogfood/Dockerfile index 57520ddef67a7..fdd72f0840b00 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 files / # Install packages from apt repositories ARG DEBIAN_FRONTEND="noninteractive" From 0b7f9d5bb9c0ae6ae4076de316feb34731270479 Mon Sep 17 00:00:00 2001 From: Cian Johnston Date: Wed, 3 Jul 2024 17:32:31 +0100 Subject: [PATCH 2/2] add a bogus comment to ensure hashes change --- dogfood/files/etc/sudoers.d/nopasswd | 1 + 1 file changed, 1 insertion(+) diff --git a/dogfood/files/etc/sudoers.d/nopasswd b/dogfood/files/etc/sudoers.d/nopasswd index 3283f4455630c..416d0811fcf40 100644 --- a/dogfood/files/etc/sudoers.d/nopasswd +++ b/dogfood/files/etc/sudoers.d/nopasswd @@ -1 +1,2 @@ +# Allow the Coder user to execute sudo without a password coder ALL=(ALL) NOPASSWD:ALL