mirror of
https://github.com/golang/go
synced 2024-11-19 00:44:40 -07:00
d5854b7d67
Change-Id: I69cda2fb7b0047201999781cdb27f4a9013920c6 Reviewed-on: https://go-review.googlesource.com/1367 Reviewed-by: David Symonds <dsymonds@golang.org>
21 lines
634 B
Docker
21 lines
634 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=6735829f /scripts/build-go-builder.sh && test -f /usr/local/bin/builder
|
|
|
|
ENV CC /usr/bin/clang
|