Skip to content

Commit

Permalink
Remove unnecessary options
Browse files Browse the repository at this point in the history
  • Loading branch information
robincw-gr committed Sep 18, 2019
1 parent e6f6ef6 commit f5d6014
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
# build stage
FROM golang:alpine AS build-env
RUN apk --no-cache add build-base git bzr mercurial gcc
ADD . /src
WORKDIR /src
ENV CGO_ENABLED=0
ENV GOOS=linux
ENV GOARCH=386
RUN go build -mod=vendor -ldflags '-extldflags "-static"' -o geras ./cmd/geras/main.go

# final stage
Expand Down

0 comments on commit f5d6014

Please sign in to comment.