From bcd4adb3a0b59581ee3ddca2c31ae8d339b92cfd Mon Sep 17 00:00:00 2001 From: Jean-Philippe Roemer Date: Wed, 11 May 2016 18:11:59 +0100 Subject: 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 --- Dockerfile.rpi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Dockerfile.rpi') 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 \ -- cgit v1.2.3