diff --git a/Dockerfile b/Dockerfile index 34d3b9b..2bba7bb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,9 +3,8 @@ FROM golang AS build RUN mkdir /endlessh ADD . /endlessh WORKDIR /endlessh -RUN export CGO_ENABLED=0 RUN go mod tidy -RUN go build -o endlessh . +RUN CGO_ENABLED=0 go build -o endlessh . FROM gcr.io/distroless/base