diff options
author | Karel Kočí <cynerd@email.cz> | 2021-09-10 16:33:08 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2021-09-10 16:33:08 +0200 |
commit | 755fd97d0aada8413ec958b17d1686bbf7b77c11 (patch) | |
tree | fb836204fc2914a48996915973377758ef5a2033 | |
parent | f80779158d7ac2bcfe0ffa8cf52bec9008edd2eb (diff) | |
download | alpine-personal-pkgs-755fd97d0aada8413ec958b17d1686bbf7b77c11.tar.gz alpine-personal-pkgs-755fd97d0aada8413ec958b17d1686bbf7b77c11.tar.bz2 alpine-personal-pkgs-755fd97d0aada8413ec958b17d1686bbf7b77c11.zip |
dockerfile: updaate to work with latest alpine
-rw-r--r-- | .Dockerfile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/.Dockerfile b/.Dockerfile index 365436f..f5a3c16 100644 --- a/.Dockerfile +++ b/.Dockerfile @@ -2,12 +2,16 @@ FROM alpine RUN \ apk update && \ - apk add abuild + apk add abuild sudo + +RUN \ + echo "%wheel ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers RUN \ adduser -D cynerd && \ + addgroup cynerd wheel && \ addgroup cynerd abuild USER cynerd -RUN abuild-keygen -ia +RUN abuild-keygen -ian |