Docker: Use golang:1.8-alpine as base image.
parent
dcd1027918
commit
76b3f0aae0
|
@ -1,11 +1,10 @@
|
||||||
FROM alpine:edge
|
FROM golang:1.8-alpine
|
||||||
|
|
||||||
ARG GO_ROOT_IMPORT_PATH=git.dekart811.net/icedream/workreportmgr
|
ARG GO_ROOT_IMPORT_PATH=git.dekart811.net/icedream/workreportmgr
|
||||||
|
|
||||||
COPY . "/go/src/${GO_ROOT_IMPORT_PATH}"
|
COPY . "/go/src/${GO_ROOT_IMPORT_PATH}"
|
||||||
RUN \
|
RUN \
|
||||||
apk add --no-cache --virtual .build-deps \
|
apk add --no-cache --virtual .build-deps \
|
||||||
go=1.7.4-r1 \
|
|
||||||
git \
|
git \
|
||||||
libc-dev \
|
libc-dev \
|
||||||
&&\
|
&&\
|
||||||
|
|
Loading…
Reference in New Issue