Skip to content

Commit

Permalink
enable cgo
Browse files Browse the repository at this point in the history
  • Loading branch information
Povilaszva committed Sep 19, 2024
1 parent d198aee commit dc3ffb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN go mod download
COPY . /home/src

# Build the application. Disable CGO and enable static binary output.
RUN CGO_ENABLED=0 go build -v -o dydx-publisher -ldflags="-w -s"
RUN CGO_ENABLED=1 go build -v -o dydx-publisher -ldflags="-w -s"

# 2. Runtime Container
FROM alpine as dydx-publisher
Expand Down

0 comments on commit dc3ffb6

Please sign in to comment.