Skip to content

Commit 2cc59ca

Browse files
humblecmergify[bot]
authored andcommitted
Install go from release tar ball and update to 1.13.9
The current version of go ( 1.12.x) is causing issues on some method call under errors package. This patch could help to overcome the same. More details about the failure is @ceph#917 (comment) Signed-off-by: Humble Chirammal <[email protected]>
1 parent 19cc28d commit 2cc59ca

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

scripts/Dockerfile.devel

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
FROM ceph/ceph:v15
22

33
ENV GOPATH=/go \
4-
GO111MODULE=on
4+
GOROOT=/usr/local/go \
5+
GO111MODULE=on
6+
7+
RUN mkdir -p /usr/local/go && \
8+
curl https://storage.googleapis.com/golang/go1.13.9.linux-amd64.tar.gz | tar xzf - -C /usr/local/go --strip-components=1
9+
10+
ENV PATH="$GOROOT/bin:$GOPATH/bin:$PATH"
511

612
RUN yum -y install \
7-
golang \
813
git \
914
make \
15+
gcc \
1016
librados-devel \
1117
librbd-devel \
1218
&& yum -y update \

0 commit comments

Comments
 (0)