docker: Bump to golang 1.8
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
FROM golang:1.6.2
|
FROM golang:1.8
|
||||||
|
|
||||||
MAINTAINER Michał Czeraszkiewicz <contact@czerasz.com>
|
MAINTAINER Michał Czeraszkiewicz <contact@czerasz.com>
|
||||||
|
|
||||||
# Set the reset cache variable
|
# 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
|
# 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-10
|
ENV REFRESHED_AT 2017-11-16
|
||||||
|
|
||||||
# Update the package list to be able to use required packages
|
# Update the package list to be able to use required packages
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
FROM golang:1.6.2
|
FROM golang:1.8
|
||||||
|
|
||||||
MAINTAINER Michał Czeraszkiewicz <contact@czerasz.com>
|
MAINTAINER Michał Czeraszkiewicz <contact@czerasz.com>
|
||||||
|
|
||||||
# Set the reset cache variable
|
# 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
|
# 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
|
RUN apt-get update
|
||||||
|
|
||||||
@@ -27,5 +27,8 @@ WORKDIR /home/$USER_NAME/mgmt
|
|||||||
# Install dependencies
|
# Install dependencies
|
||||||
RUN make deps
|
RUN make deps
|
||||||
|
|
||||||
|
# Chown $GOPATH
|
||||||
|
RUN chown -R ${USER_ID}:${GROUP_ID} /go
|
||||||
|
|
||||||
# Change user
|
# Change user
|
||||||
USER ${USER_NAME}
|
USER ${USER_NAME}
|
||||||
|
|||||||
Reference in New Issue
Block a user