diff --git a/Dockerfile-focal b/Dockerfile-focal index 729ae257..cbaddf0e 100644 --- a/Dockerfile-focal +++ b/Dockerfile-focal @@ -3,7 +3,7 @@ LABEL org.opencontainers.image.authors="nicolasbock@gmail.com" RUN apt-get update RUN DEBIAN_FRONTEND=noninteractive apt-get install --yes sudo -RUN useradd --create-home --user-group --groups sudo ubuntu +RUN useradd --create-home --shell /bin/bash --user-group --groups sudo ubuntu RUN sed --in-place --expression '/^%sudo/ s/ALL$/NOPASSWD: ALL/' /etc/sudoers COPY scripts/prepare-container-focal.sh /usr/sbin