2020-03-30 09:19:24 +00:00
|
|
|
FROM ceph/ceph:v15
|
2019-12-30 19:47:02 +00:00
|
|
|
|
2020-03-31 05:29:25 +00:00
|
|
|
ENV GOPATH=/go \
|
2020-04-07 12:46:49 +00:00
|
|
|
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"
|
2019-12-30 19:47:02 +00:00
|
|
|
|
|
|
|
RUN yum -y install \
|
2020-03-31 05:29:25 +00:00
|
|
|
git \
|
2019-12-30 19:47:02 +00:00
|
|
|
make \
|
2020-04-07 12:46:49 +00:00
|
|
|
gcc \
|
2019-12-30 19:47:02 +00:00
|
|
|
librados-devel \
|
|
|
|
librbd-devel \
|
|
|
|
&& yum -y update \
|
|
|
|
&& true
|