summaryrefslogtreecommitdiffstats
path: root/Dockerfile.rpi
diff options
context:
space:
mode:
authorJean-Philippe Roemer <jp@roemer.im>2016-05-11 18:11:59 +0100
committerUnknwon <u@gogs.io>2016-05-11 13:11:59 -0400
commitbcd4adb3a0b59581ee3ddca2c31ae8d339b92cfd (patch)
tree741f168d3dedb51a62b517af58e15023034f6092 /Dockerfile.rpi
parentbf5faf76eb0fde7e4dabcae84d0c153f6e72db48 (diff)
downloadgitea-bcd4adb3a0b59581ee3ddca2c31ae8d339b92cfd.tar.gz
gitea-bcd4adb3a0b59581ee3ddca2c31ae8d339b92cfd.zip
Update docker/build.sh script to use glide & make (#3079)
* docker: update build script to use glide + make - docker/build.sh will now use glide to fetch dependencies - glide is built from source to keep compatibility with arm (no pre-prebuilt binary for arm) - docker/build.sh will also now use the provided Makefile It will generate an error when trying to get git build has as we do not ship the 88mo .git directory during the build (should not cause any problem as the variable it sets was not set previously) * docker: fix docker arm build - drop gosu version back to 1.7 as gosu binary for armhf is broken - see tianon/gosu#19 * docker: update gosu to 1.9 Signed-off-by: Jean-Philippe Roemer <jp@roemer.im>
Diffstat (limited to 'Dockerfile.rpi')
-rw-r--r--Dockerfile.rpi2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile.rpi b/Dockerfile.rpi
index 6e2c4264b6..948f8f178c 100644
--- a/Dockerfile.rpi
+++ b/Dockerfile.rpi
@@ -2,7 +2,7 @@ FROM hypriot/rpi-alpine-scratch:v3.2
MAINTAINER jp@roemer.im, raxetul@gmail.com
# Install system utils & Gogs runtime dependencies
-ADD https://github.com/tianon/gosu/releases/download/1.7/gosu-armhf /usr/sbin/gosu
+ADD https://github.com/tianon/gosu/releases/download/1.9/gosu-armhf /usr/sbin/gosu
RUN chmod +x /usr/sbin/gosu \
&& echo "http://dl-4.alpinelinux.org/alpine/v3.3/main/" | tee /etc/apk/repositories \
&& echo "http://dl-4.alpinelinux.org/alpine/v3.3/community/" | tee -a /etc/apk/repositories \