Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
Bad merge
  • Loading branch information
dudo authored Jan 10, 2024
1 parent 13e0b56 commit 27e6fd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ RUN groupadd -r nonroot && useradd --no-log-init -r -g nonroot nonroot

# Build the binary with full module support and without Cgo.
# Compile the binary statically including all dependencies.
# RUN CGO_ENABLED=0 GOOS=linux go build -mod=readonly -a -installsuffix cgo -o /go/bin/main ./cmd/observer
RUN CGO_ENABLED=0 GOOS=linux go build -mod=readonly -a -installsuffix cgo -o /go/bin/main ./cmd/observer

# Second stage: build the runtime container.
# Start from a scratch image, which is an empty container.
Expand Down

0 comments on commit 27e6fd0

Please sign in to comment.