diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-01-11 09:15:33 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-01-11 09:15:33 +0100 |
commit | 4c42851c53a5884b36a1a7850b7b663e4faf82c9 (patch) | |
tree | eb09f7449662e6e49aedf58bff94ebca22c8db07 /docker/Dockerfile | |
parent | 4004496e89d2a27cfb4cc3a87253dd9dac54e160 (diff) | |
download | vyos-build-4c42851c53a5884b36a1a7850b7b663e4faf82c9.tar.gz vyos-build-4c42851c53a5884b36a1a7850b7b663e4faf82c9.zip |
Docker: create UNIX group on demand
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r-- | docker/Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile index 2744d291..505660ab 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -158,7 +158,7 @@ RUN export LATEST="$(curl -s https://checkpoint-api.hashicorp.com/v1/check/packe # Allow password-less 'sudo' for all users in group 'sudo' RUN sed "s/^%sudo.*/%sudo\tALL=(ALL) NOPASSWD:ALL/g" -i /etc/sudoers && \ - chmod a+s /usr/sbin/useradd /usr/sbin/gosu /usr/sbin/usermod + chmod a+s /usr/sbin/useradd /usr/sbin/groupadd /usr/sbin/gosu /usr/sbin/usermod COPY entrypoint.sh /usr/local/bin/entrypoint.sh ENTRYPOINT ["/usr/local/bin/entrypoint.sh"] |