mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-23 05:20:19 +00:00
2cc59ca411
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 @https://github.com/ceph/ceph-csi/pull/917#issuecomment-609998502 Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
20 lines
387 B
Docker
20 lines
387 B
Docker
FROM ceph/ceph:v15
|
|
|
|
ENV GOPATH=/go \
|
|
GOROOT=/usr/local/go \
|
|
GO111MODULE=on
|
|
|
|
RUN mkdir -p /usr/local/go && \
|
|
curl https://storage.googleapis.com/golang/go1.13.9.linux-amd64.tar.gz | tar xzf - -C /usr/local/go --strip-components=1
|
|
|
|
ENV PATH="$GOROOT/bin:$GOPATH/bin:$PATH"
|
|
|
|
RUN yum -y install \
|
|
git \
|
|
make \
|
|
gcc \
|
|
librados-devel \
|
|
librbd-devel \
|
|
&& yum -y update \
|
|
&& true
|