diff options
author | Thomas Boerger <tboerger@suse.de> | 2016-11-28 17:16:13 +0100 |
---|---|---|
committer | Thomas Boerger <tboerger@suse.de> | 2016-11-28 17:16:13 +0100 |
commit | 65d0426b915472bd680788158d0c66bbbec9716e (patch) | |
tree | 226026c82f37c7c5a24528e7bfc77bdc5f6ef047 /Dockerfile | |
parent | 575dc69e3b3384310e50fff6da227c15f50b3826 (diff) | |
download | gitea-65d0426b915472bd680788158d0c66bbbec9716e.tar.gz gitea-65d0426b915472bd680788158d0c66bbbec9716e.zip |
Use su-exec instead of gosu, much smaller
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile index df363e07fb..fd25c88346 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,9 +3,9 @@ MAINTAINER Thomas Boerger <thomas@webhippie.de> EXPOSE 22 3000 -RUN echo "@testing http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories && \ - apk -U add \ - gosu@testing \ +RUN apk update && \ + apk add \ + su-exec \ shadow \ ca-certificates \ sqlite \ |