mirror of
https://github.com/kataras/iris.git
synced 2025-01-23 18:51:03 +01:00
981322cfd2
Former-commit-id: ba9ed1475a76489df16cac0ed87275b5604f2ad0
12 lines
314 B
Docker
12 lines
314 B
Docker
FROM golang:1.9.3-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 |