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" 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