Docker: Use golang:1.8-alpine as base image.

master
Carl Kittelberger 2017-02-27 15:52:25 +01:00
parent dcd1027918
commit 76b3f0aae0
Signed by: icedream
GPG Key ID: C1D30A06E6490C14
1 changed files with 1 additions and 2 deletions

View File

@ -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 \
&&\ &&\