summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorThomas Boerger <tboerger@suse.de>2016-11-28 17:16:13 +0100
committerThomas Boerger <tboerger@suse.de>2016-11-28 17:16:13 +0100
commit65d0426b915472bd680788158d0c66bbbec9716e (patch)
tree226026c82f37c7c5a24528e7bfc77bdc5f6ef047 /Dockerfile
parent575dc69e3b3384310e50fff6da227c15f50b3826 (diff)
downloadgitea-65d0426b915472bd680788158d0c66bbbec9716e.tar.gz
gitea-65d0426b915472bd680788158d0c66bbbec9716e.zip
Use su-exec instead of gosu, much smaller
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile6
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 \