We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68b29e7 commit 6f6b50eCopy full SHA for 6f6b50e
build/dockerfiles/bridgehistoryapi-db-cli.Dockerfile
@@ -10,7 +10,7 @@ FROM base as builder
10
11
RUN --mount=target=. \
12
--mount=type=cache,target=/root/.cache/go-build \
13
- cd /src/bridge-history-api/cmd/db_cli && go build -v -p 4 -o /bin/db_cli
+ cd /src/bridge-history-api/cmd/db_cli && CGO_LDFLAGS="-Wl,--no-as-needed -ldl" go build -v -p 4 -o /bin/db_cli
14
15
# Pull db_cli into a second stage deploy alpine container
16
FROM ubuntu:20.04
0 commit comments