Skip to content

Commit

Permalink
Changed build in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
msoap committed Oct 9, 2021
1 parent c37d81f commit 9877c69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN apk add --no-cache git
ADD . $GOPATH/src/github.com/msoap/shell2http
WORKDIR $GOPATH/src/github.com/msoap/shell2http
ENV CGO_ENABLED=0
RUN go install -a -v -ldflags="-w -s" ./...
RUN go build -v -ldflags="-w -s" -o /go/bin/shell2http .

# final image
FROM alpine
Expand Down

0 comments on commit 9877c69

Please sign in to comment.