Skip to content

Commit

Permalink
Remove commented out instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
rnzsgh committed Oct 26, 2018
1 parent 034470f commit 3f29ddb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ RUN mkdir -p /go/src/github.com/eks-workshop-sample-api-service-go
WORKDIR /go/src/github.com/eks-workshop-sample-api-service-go
RUN useradd -u 10001 app
COPY . .
#RUN go build -ldflags "-linkmode external -extldflags -static" -a main.go

RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o main .

FROM scratch
Expand Down

0 comments on commit 3f29ddb

Please sign in to comment.