mirror of
https://github.com/kataras/iris.git
synced 2025-01-23 10:41:03 +01:00
9f85b74fc9
Former-commit-id: da4f38eb9034daa49446df3ee529423b98f9b331
12 lines
303 B
Docker
12 lines
303 B
Docker
FROM golang:1.8.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 |