Skip to content

Commit

Permalink
use normal Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulexus committed Dec 2, 2019
1 parent 70500d8 commit dc40c51
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,2 @@
FROM golang:alpine AS builder
ENV GO111MODULE on
RUN apk add --no-cache git
WORKDIR $GOPATH/src/github.com/CyCoreSystems/ipassign
COPY . .
RUN go get -d -v
RUN go build -o /go/bin/svc

FROM alpine
RUN apk add --no-cache ca-certificates
COPY --from=builder /go/bin/svc /go/bin/svc

ENTRYPOINT ["/go/bin/svc"]
FROM ulexus/go-minimal
COPY ipassign /app

0 comments on commit dc40c51

Please sign in to comment.