mirror of
https://github.com/jc21/nginx-proxy-manager.git
synced 2024-08-30 18:22:48 +00:00
Backend builds should use cgo
This commit is contained in:
parent
7166654215
commit
5b4fe24957
@ -19,6 +19,9 @@ if [ "$BUILD_VERSION" = "" ]; then
|
||||
BUILD_VERSION=$(cat .version)
|
||||
fi
|
||||
|
||||
export CGO_ENABLED=1
|
||||
export GO111MODULE=on
|
||||
|
||||
echo -e "${BLUE}❯ ${GREEN}build-backend:${RESET}"
|
||||
echo " BUILD_COMMIT: $BUILD_COMMIT"
|
||||
echo " BUILD_DATE: $BUILD_DATE"
|
||||
@ -74,5 +77,3 @@ cleanup
|
||||
|
||||
echo -e "${BLUE}❯ ${GREEN}build-backend completed${RESET}"
|
||||
exit 0
|
||||
|
||||
trap cleanup EXIT
|
||||
|
Loading…
Reference in New Issue
Block a user