mirror of
https://github.com/jc21/nginx-proxy-manager.git
synced 2024-08-30 18:22:48 +00:00
Enable Cgo again for use with embedded dbmate
This commit is contained in:
parent
e889714642
commit
b4365f5c54
@ -18,6 +18,7 @@ ARG SENTRY_DSN
|
||||
|
||||
ENV BUILD_COMMIT="${BUILD_COMMIT:-dev}" \
|
||||
BUILD_VERSION="${BUILD_VERSION:-0.0.0}" \
|
||||
CGO_ENABLED=1 \
|
||||
GOPRIVATE="${GOPRIVATE:-}" \
|
||||
GOPROXY="${GOPROXY:-}" \
|
||||
SENTRY_DSN="${SENTRY_DSN:-}"
|
||||
|
@ -11,6 +11,7 @@ ARG GOPRIVATE
|
||||
ENV ACMESH_CONFIG_HOME=/data/.acme.sh/config \
|
||||
ACMESH_HOME=/data/.acme.sh \
|
||||
CERT_HOME=/data/.acme.sh/certs \
|
||||
CGO_ENABLED=1 \
|
||||
GOPROXY=$GOPROXY \
|
||||
GOPRIVATE=$GOPRIVATE \
|
||||
LE_CONFIG_HOME=/data/.acme.sh/config \
|
||||
|
@ -20,7 +20,7 @@ if [ "$BUILD_VERSION" = "" ]; then
|
||||
BUILD_VERSION=$(cat .version)
|
||||
fi
|
||||
|
||||
export CGO_ENABLED=0
|
||||
export CGO_ENABLED=1
|
||||
export GO111MODULE=on
|
||||
|
||||
echo -e "${BLUE}❯ ${GREEN}build-backend:${RESET}"
|
||||
|
Loading…
Reference in New Issue
Block a user