xgo/docker/go-1.9.3/Dockerfile

18 lines
503 B
Docker

# Go cross compiler (xgo): Go 1.9.3
# Copyright (c) 2018 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
ENV GO_VERSION 193
RUN \
export ROOT_DIST=https://storage.googleapis.com/golang/go1.9.3.linux-amd64.tar.gz && \
export ROOT_DIST_SHA=a4da5f4c07dfda8194c4621611aeb7ceaab98af0b38bfb29e1be2ebb04c3556c && \
\
$BOOTSTRAP_PURE