From f3bb4d62848f22aff69fb06ce42c4b430a38c0d5 Mon Sep 17 00:00:00 2001 From: Mateusz Hawrus <48822818+nieomylnieja@users.noreply.github.com> Date: Fri, 12 Jan 2024 09:52:55 +0100 Subject: [PATCH] Correct Dockerfile (#281) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 349c05d..e285d35 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM golang:1.20 as build WORKDIR /go/src/oslo COPY . . RUN go mod download -RUN CGO_ENABLED=0 go build -o /go/bin/oslo cmd/main.go +RUN CGO_ENABLED=0 go build -o /go/bin/oslo ./cmd/sloctl/main.go FROM gcr.io/distroless/static-debian11