diff --git a/gogs/arm/Dockerfile b/gogs/arm/Dockerfile index f081203..2689e1f 100644 --- a/gogs/arm/Dockerfile +++ b/gogs/arm/Dockerfile @@ -5,6 +5,7 @@ FROM easypi/alpine-arm MAINTAINER EasyPi Software Foundation +ENV GOSU_VERSION 1.11 ENV GOGS_VERSION 0.11.91 ENV GOGS_CUSTOM /data/gogs @@ -24,13 +25,13 @@ RUN set -xe \ && echo "export GOGS_CUSTOM=${GOGS_CUSTOM}" >> /etc/profile RUN set -xe \ - && curl -L https://github.com/tianon/gosu/releases/download/1.10/gosu-armhf > /usr/sbin/gosu \ + && curl -L https://github.com/tianon/gosu/releases/download/${GOSU_VERSION}/gosu-armhf > /usr/sbin/gosu \ && chmod +x /usr/sbin/gosu RUN set -xe \ && mkdir /app/ \ && cd /app/ \ - && curl -LO https://github.com/gogits/gogs/releases/download/v${GOGS_VERSION}/raspi2_armv6.zip \ + && curl -LO https://github.com/gogits/gogs/releases/download/v${GOGS_VERSION}/raspi_armv7.zip \ && unzip raspi2_armv6.zip \ && rm raspi2_armv6.zip \ && ln -s /lib/libc.musl-armhf.so.1 /lib/ld-linux-armhf.so.3