mirror of
https://github.com/golang/go
synced 2024-11-19 01:54:39 -07:00
996ff9bec3
Change-Id: I256168d1bbe542ae78e4c1e7c4879d2b62b74c7e Reviewed-on: https://go-review.googlesource.com/2690 Reviewed-by: Andrew Gerrand <adg@golang.org>
24 lines
906 B
Docker
24 lines
906 B
Docker
# Copyright 2014 The Go Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style
|
|
# license that can be found in the LICENSE file.
|
|
|
|
# gobuilders/linux-x86-clang for building with clang instead of gcc.
|
|
|
|
FROM debian:wheezy
|
|
MAINTAINER golang-dev <golang-dev@googlegroups.com>
|
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
|
|
ADD /sources/clang-deps.list /etc/apt/sources.list.d/
|
|
|
|
ADD /scripts/install-apt-deps.sh /scripts/
|
|
RUN /scripts/install-apt-deps.sh
|
|
|
|
ADD /scripts/build-go-builder.sh /scripts/
|
|
RUN GO_REV=go1.4 BUILDER_REV=d79e0375a /scripts/build-go-builder.sh && test -f /usr/local/bin/builder
|
|
|
|
ENV CC /usr/bin/clang
|
|
|
|
RUN mkdir -p /go1.4-386 && (curl --silent https://storage.googleapis.com/golang/go1.4.linux-386.tar.gz | tar -C /go1.4-386 -zxv)
|
|
RUN mkdir -p /go1.4-amd64 && (curl --silent https://storage.googleapis.com/golang/go1.4.linux-amd64.tar.gz | tar -C /go1.4-amd64 -zxv)
|