diff options
author | Jean-Philippe Roemer <jp@roemer.im> | 2016-01-28 15:03:02 +0000 |
---|---|---|
committer | Jean-Philippe Roemer <jp@roemer.im> | 2016-01-28 21:31:45 +0000 |
commit | 12c8953381286edc822529755edfb7971e63fb38 (patch) | |
tree | f54464c50c2539dc90103dd4016accc10d297212 /docker | |
parent | 566163ab8257ba2b828985c2cc00f705341ba73f (diff) | |
download | gitea-12c8953381286edc822529755edfb7971e63fb38.tar.gz gitea-12c8953381286edc822529755edfb7971e63fb38.zip |
Update Dockerfile to update alpine to v3.3 & fix virtual package and repository pinning on RPi
- Dockerfile now uses alpine:3.3 as base
- Dockerfile.rpi now uses v3.3/community repository without pinning
- Go package is no longer fetched using repository pinning
- Fixes problem while using repository pinning & virtual package at the same time
Diffstat (limited to 'docker')
-rwxr-xr-x | docker/build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/build.sh b/docker/build.sh index 83ef8f2b2b..e109affc53 100755 --- a/docker/build.sh +++ b/docker/build.sh @@ -7,7 +7,7 @@ export GOPATH=/tmp/go export PATH=${PATH}:${GOPATH}/bin # Install build deps -apk -U --no-progress add --virtual build-deps linux-pam-dev go@community gcc musl-dev +apk -U --no-progress add --virtual build-deps linux-pam-dev go gcc musl-dev # Init go environment to build Gogs mkdir -p ${GOPATH}/src/github.com/gogits/ |