Skip to content

Commit b4365f5

Browse files
committed
Enable Cgo again for use with embedded dbmate
1 parent e889714 commit b4365f5

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

docker/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ ARG SENTRY_DSN
1818

1919
ENV BUILD_COMMIT="${BUILD_COMMIT:-dev}" \
2020
BUILD_VERSION="${BUILD_VERSION:-0.0.0}" \
21+
CGO_ENABLED=1 \
2122
GOPRIVATE="${GOPRIVATE:-}" \
2223
GOPROXY="${GOPROXY:-}" \
2324
SENTRY_DSN="${SENTRY_DSN:-}"

docker/dev/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ ARG GOPRIVATE
1111
ENV ACMESH_CONFIG_HOME=/data/.acme.sh/config \
1212
ACMESH_HOME=/data/.acme.sh \
1313
CERT_HOME=/data/.acme.sh/certs \
14+
CGO_ENABLED=1 \
1415
GOPROXY=$GOPROXY \
1516
GOPRIVATE=$GOPRIVATE \
1617
LE_CONFIG_HOME=/data/.acme.sh/config \

scripts/ci/build-backend

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ if [ "$BUILD_VERSION" = "" ]; then
2020
BUILD_VERSION=$(cat .version)
2121
fi
2222

23-
export CGO_ENABLED=0
23+
export CGO_ENABLED=1
2424
export GO111MODULE=on
2525

2626
echo -e "${BLUE}${GREEN}build-backend:${RESET}"

0 commit comments

Comments
 (0)