|
@@ -7,7 +7,7 @@ export GOPATH=/tmp/go
|
|
|
export PATH=${PATH}:${GOPATH}/bin
|
|
|
|
|
|
|
|
|
-apk -U --no-progress add linux-pam-dev go@community gcc musl-dev
|
|
|
+apk -U --no-progress add --virtual build-deps linux-pam-dev go@community gcc musl-dev
|
|
|
|
|
|
|
|
|
mkdir -p ${GOPATH}/src/github.com/gogits/
|
|
@@ -20,7 +20,7 @@ go build -tags "sqlite cert pam"
|
|
|
rm -r $GOPATH
|
|
|
|
|
|
|
|
|
-apk --no-progress del linux-pam-dev go gcc musl-dev
|
|
|
+apk --no-progress del build-deps
|
|
|
|
|
|
|
|
|
adduser -H -D -g 'Gogs Git User' git -h /data/git -s /bin/bash && passwd -u git
|