2015-09-10 11:37:52 +03:00
|
|
|
# Go cross compiler (xgo): Go 1.5.1 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
|
2016-06-10 16:39:01 +03:00
|
|
|
ENV GO_VERSION 151
|
|
|
|
|
2015-09-10 11:37:52 +03:00
|
|
|
RUN \
|
|
|
|
export ROOT_DIST=https://storage.googleapis.com/golang/go1.5.1.linux-amd64.tar.gz && \
|
2016-01-14 12:14:59 +02:00
|
|
|
export ROOT_DIST_SHA=46eecd290d8803887dec718c691cc243f2175fe0 && \
|
2015-09-10 11:37:52 +03:00
|
|
|
\
|
|
|
|
$BOOTSTRAP_PURE
|