mirror of
https://github.com/rancher/os.git
synced 2025-07-14 07:04:03 +00:00
Merge pull request #819 from imikushin/dapper-gccgo
Make sure /usr/bin/go from gccgo exists
This commit is contained in:
commit
2ec32c14e2
@ -6,7 +6,7 @@ RUN apt-get update && \
|
|||||||
|
|
||||||
ARG HOST_ARCH
|
ARG HOST_ARCH
|
||||||
ENV HOST_ARCH ${HOST_ARCH}
|
ENV HOST_ARCH ${HOST_ARCH}
|
||||||
RUN mkdir -p /usr/local && cd /usr/local && \
|
RUN ln -sf go-6 /usr/bin/go && mkdir -p /usr/local && cd /usr/local && \
|
||||||
wget -O - https://storage.googleapis.com/golang/go1.6.src.tar.gz | tar -xz && \
|
wget -O - https://storage.googleapis.com/golang/go1.6.src.tar.gz | tar -xz && \
|
||||||
cd go/src && GOROOT_BOOTSTRAP=/usr GOARCH=${HOST_ARCH} GOHOSTARCH=${HOST_ARCH} ./make.bash
|
cd go/src && GOROOT_BOOTSTRAP=/usr GOARCH=${HOST_ARCH} GOHOSTARCH=${HOST_ARCH} ./make.bash
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user