Add Dockerfile.alpine

This commit is contained in:
Peter Stuifzand 2018-05-16 20:10:23 +02:00
parent d28f0d85c2
commit 5207e43430

12
Dockerfile.alpine Normal file
View File

@ -0,0 +1,12 @@
# build stage
FROM golang:1.10.2-alpine3.7 AS build-env
RUN apk --no-cache add git
RUN go get github.com/pstuifzand/ekster/cmd/eksterd
# final stage
FROM alpine
RUN apk --no-cache add ca-certificates
WORKDIR /app
EXPOSE 80
COPY --from=build-env /go/bin/eksterd /app/
ENTRYPOINT ./eksterd