Use su-exec instead of gosu, much smaller

This commit is contained in:
Thomas Boerger 2016-11-28 17:16:13 +01:00
parent 575dc69e3b
commit 65d0426b91
No known key found for this signature in database
GPG key ID: 5A388F55283960B6
5 changed files with 9 additions and 9 deletions

View file

@ -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 \