xgo/docker/go-1.5.2/Dockerfile

18 lines
481 B
Docker
Raw Normal View History

2015-12-04 08:37:09 +00:00
# Go cross compiler (xgo): Go 1.5.2 layer
# Copyright (c) 2015 Péter Szilágyi. All rights reserved.
#
# Released under the MIT license.
FROM karalabe/xgo-base
MAINTAINER Péter Szilágyi <peterke@gmail.com>
# Configure the root Go distribution and bootstrap based on it
RUN \
export ROOT_DIST=https://storage.googleapis.com/golang/go1.5.2.linux-amd64.tar.gz && \
export ROOT_DIST_SHA=cae87ed095e8d94a81871281d35da7829bd1234e && \
2015-12-04 08:37:09 +00:00
\
$BOOTSTRAP_PURE
ENV GO_VERSION 152