mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-25 02:04:06 +02:00
fix gogs-arm
This commit is contained in:
parent
69a40c101c
commit
6e391a9ffa
@ -5,6 +5,7 @@
|
|||||||
FROM easypi/alpine-arm
|
FROM easypi/alpine-arm
|
||||||
MAINTAINER EasyPi Software Foundation
|
MAINTAINER EasyPi Software Foundation
|
||||||
|
|
||||||
|
ENV GOSU_VERSION 1.11
|
||||||
ENV GOGS_VERSION 0.11.91
|
ENV GOGS_VERSION 0.11.91
|
||||||
ENV GOGS_CUSTOM /data/gogs
|
ENV GOGS_CUSTOM /data/gogs
|
||||||
|
|
||||||
@ -24,13 +25,13 @@ RUN set -xe \
|
|||||||
&& echo "export GOGS_CUSTOM=${GOGS_CUSTOM}" >> /etc/profile
|
&& echo "export GOGS_CUSTOM=${GOGS_CUSTOM}" >> /etc/profile
|
||||||
|
|
||||||
RUN set -xe \
|
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
|
&& chmod +x /usr/sbin/gosu
|
||||||
|
|
||||||
RUN set -xe \
|
RUN set -xe \
|
||||||
&& mkdir /app/ \
|
&& mkdir /app/ \
|
||||||
&& cd /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 \
|
&& unzip raspi2_armv6.zip \
|
||||||
&& rm raspi2_armv6.zip \
|
&& rm raspi2_armv6.zip \
|
||||||
&& ln -s /lib/libc.musl-armhf.so.1 /lib/ld-linux-armhf.so.3
|
&& ln -s /lib/libc.musl-armhf.so.1 /lib/ld-linux-armhf.so.3
|
||||||
|
Loading…
Reference in New Issue
Block a user