iris/Dockerfile.build
kataras bd779117fe add learning section at faq, although is easy to be found
Former-commit-id: f6cc690bcf178dea8b492366124860bfe427a92f
2017-09-03 18:28:58 +03:00

12 lines
301 B
Docker

FROM golang:1.9-alpine
RUN apk update && apk upgrade && apk add --no-cache bash git
RUN go get github.com/iris-contrib/cloud-native-go
ENV SOURCES /go/src/github.com/iris-contrib/cloud-native-go
# COPY . ${SOURCES}
RUN cd ${SOURCES} $$ CGO_ENABLED=0 go build
ENTRYPOINT cloud-native-go
EXPOSE 8080