github.com/graybobo/golang.org-package-offline-cache@v0.0.0-20200626051047-6608995c132f/x/tools/dashboard/env/linux-x86-nacl/Dockerfile (about) 1 # Copyright 2014 The Go Authors. All rights reserved. 2 # Use of this source code is governed by a BSD-style 3 # license that can be found in the LICENSE file. 4 5 # gobuilders/linux-x86-nacl for 32- and 64-bit nacl. 6 # 7 # We need more modern libc than Debian stable as used in base, so we're 8 # using Ubuntu LTS here. 9 # 10 # TODO(bradfitz): make both be Ubuntu? But we also want Debian, Fedora, 11 # etc coverage., so deal with unifying these later, once there's a plan 12 # or a generator for them and the other builders are turned down. 13 14 FROM ubuntu:trusty 15 MAINTAINER golang-dev <golang-dev@googlegroups.com> 16 17 ENV DEBIAN_FRONTEND noninteractive 18 19 ADD /scripts/install-apt-deps.sh /scripts/ 20 RUN /scripts/install-apt-deps.sh 21 22 ADD /scripts/build-go-builder.sh /scripts/ 23 RUN GO_REV=go1.4 BUILDER_REV=6735829f /scripts/build-go-builder.sh && test -f /usr/local/bin/builder 24 25 ADD build-command.pl /usr/local/bin/ 26 27 ENV PATH /usr/local/bin:$GOROOT/bin:$PATH