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