Skip to content
This repository was archived by the owner on Mar 11, 2021. It is now read-only.

Commit b457863

Browse files
committed
Add libcap-dev and disbable cgo on go1.4 bootstrap.
* libcap-dev is needed for acmetool. * for cgo see golang/go#13114
1 parent 126be4a commit b457863

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ RUN apt-get update \
2525
autoconf \
2626
automake \
2727
libtool \
28+
libcap-dev \
2829
&& apt-get autoremove \
2930
&& apt-get clean \
3031
&& rm -rf /var/lib/apt/lists/*
@@ -55,7 +56,7 @@ ENV EDITOR vim
5556
RUN git clone https://go.googlesource.com/go /opt/go
5657
RUN git clone --shared --branch go1.4.3 /opt/go /tmp/go1.4 \
5758
&& cd /tmp/go1.4/src \
58-
&& ./make.bash \
59+
&& CGO_ENABLED=0 ./make.bash \
5960
&& cd /opt/go/src \
6061
&& git checkout release-branch.go1.6 \
6162
&& GOROOT_BOOTSTRAP=/tmp/go1.4 ./make.bash \

0 commit comments

Comments
 (0)