summaryrefslogtreecommitdiffstats
path: root/Dockerfile
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
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')
-rw-r--r--Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 8853eab51a..e45c0c065c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,7 +2,7 @@ FROM alpine:3.3
MAINTAINER jp@roemer.im
# Install system utils & Gogs runtime dependencies
-ADD https://github.com/tianon/gosu/releases/download/1.7/gosu-amd64 /usr/sbin/gosu
+ADD https://github.com/tianon/gosu/releases/download/1.9/gosu-amd64 /usr/sbin/gosu
RUN chmod +x /usr/sbin/gosu \
&& apk --no-cache --no-progress add ca-certificates bash git linux-pam s6 curl openssh socat