From 27e6fd06b4115ae7c73c14782dfda40d3fe21688 Mon Sep 17 00:00:00 2001 From: Brett Dudo Date: Tue, 9 Jan 2024 21:35:26 -0800 Subject: [PATCH] Update Dockerfile Bad merge --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 9dccfc2..e2526da 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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.