diff options
author | 2018-09-20 23:01:51 +0200 | |
---|---|---|
committer | 2018-09-20 23:01:51 +0200 | |
commit | e84fcfe055cb469a207610beb830c7a83a2580bd (patch) | |
tree | 409059299c2988cabc34f936bfcdb9ef48dd96f4 /docker | |
parent | Use unprivileged user. (diff) |
Use proper `adduser` invocation on Alpine.
Diffstat (limited to 'docker')
-rw-r--r-- | docker/app/alpine/3.6/Dockerfile | 4 | ||||
-rw-r--r-- | docker/app/alpine/3.7/Dockerfile | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/docker/app/alpine/3.6/Dockerfile b/docker/app/alpine/3.6/Dockerfile index 8dadb0de..1f8d629b 100644 --- a/docker/app/alpine/3.6/Dockerfile +++ b/docker/app/alpine/3.6/Dockerfile @@ -3,8 +3,8 @@ FROM python:3.6-alpine ARG EXTRAS=deploy RUN adduser \ - --disabled-login \ - --no-create-home \ + -D \ + -H \ pysite RUN apk add --no-cache --virtual build \ diff --git a/docker/app/alpine/3.7/Dockerfile b/docker/app/alpine/3.7/Dockerfile index ece51045..cbbdac28 100644 --- a/docker/app/alpine/3.7/Dockerfile +++ b/docker/app/alpine/3.7/Dockerfile @@ -3,8 +3,8 @@ FROM python:3.7-alpine ARG EXTRAS=deploy RUN adduser \ - --disabled-login \ - --no-create-home \ + -D \ + -H \ pysite RUN apk add --no-cache --virtual build \ |