docker: Bump to golang 1.8

This commit is contained in:
Guillaume Herail
2017-11-16 17:34:36 +01:00
parent a5247d6e69
commit cbc3a691b9
2 changed files with 7 additions and 4 deletions

View File

@@ -1,10 +1,10 @@
FROM golang:1.6.2
FROM golang:1.8
MAINTAINER Michał Czeraszkiewicz <contact@czerasz.com>
# Set the reset cache variable
# Read more here: http://czerasz.com/2014/11/13/docker-tip-and-tricks/#use-refreshedat-variable-for-better-cache-control
ENV REFRESHED_AT 2016-05-14
ENV REFRESHED_AT 2017-11-16
RUN apt-get update
@@ -27,5 +27,8 @@ WORKDIR /home/$USER_NAME/mgmt
# Install dependencies
RUN make deps
# Chown $GOPATH
RUN chown -R ${USER_ID}:${GROUP_ID} /go
# Change user
USER ${USER_NAME}