diff --git a/Dockerfile b/Dockerfile index 95ac34b..24c91ae 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,7 @@ COPY . . RUN go get -d -v # Build the binary. -RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -installsuffix cgo -ldflags="-w -s" -o /go/bin/main +RUN GOOS=linux GOARCH=amd64 go build -ldflags="-w -s" -o /go/bin/main ############################ # STEP 2 build a small image