Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ RUN go install github.com/go-delve/delve/cmd/dlv@v1.24.0
#RUN GOOS=linux go build -mod=mod -a -installsuffix cgo -o bin/backend main.go
# NOTE: We're running an unoptimized build here because it makes it possible to attach
# a debugger directly to any of our running nodes. We take this trade-off for now.
RUN GOOS=linux go build -gcflags="all=-N -l" -mod=mod -a -installsuffix cgo -o bin/backend main.go
RUN CGO_CFLAGS="-std=gnu11" GOOS=linux go build -gcflags="all=-N -l" -mod=mod -a -installsuffix cgo -o bin/backend main.go


# create tiny image
Expand Down
1 change: 1 addition & 0 deletions test.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ RUN apk add --update bash cmake g++ gcc git make vips-dev

COPY --from=golang:1.24-alpine /usr/local/go/ /usr/local/go/
ENV PATH="/usr/local/go/bin:${PATH}"
ENV CGO_CFLAGS="-std=gnu11"

# Declare an ARG for the branch name with a default value of "main"
ARG BRANCH_NAME=main
Expand Down