Merge pull request #1757 from alvaroaleman/bugfix/docker_gosu

Update gosu, this fixes #1756
This commit is contained in:
无闻 2015-10-10 14:54:05 -04:00
commit d7f390a3b0

View file

@ -2,7 +2,7 @@ FROM alpine:3.2
MAINTAINER roemer.jp@gmail.com MAINTAINER roemer.jp@gmail.com
# Install system utils & Gogs runtime dependencies # Install system utils & Gogs runtime dependencies
ADD https://github.com/tianon/gosu/releases/download/1.5/gosu-amd64 /usr/sbin/gosu ADD https://github.com/tianon/gosu/releases/download/1.6/gosu-amd64 /usr/sbin/gosu
RUN echo "@edge http://dl-4.alpinelinux.org/alpine/edge/main" | tee -a /etc/apk/repositories \ RUN echo "@edge http://dl-4.alpinelinux.org/alpine/edge/main" | tee -a /etc/apk/repositories \
&& echo "@community http://dl-4.alpinelinux.org/alpine/edge/community" | tee -a /etc/apk/repositories \ && echo "@community http://dl-4.alpinelinux.org/alpine/edge/community" | tee -a /etc/apk/repositories \
&& apk -U --no-progress upgrade \ && apk -U --no-progress upgrade \