mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-17 20:00:23 +00:00
ceef252a24
Signed-off-by: Niels de Vos <ndevos@redhat.com>
21 lines
409 B
Docker
21 lines
409 B
Docker
FROM ceph/ceph:v15
|
|
|
|
ARG GOROOT=/usr/local/go
|
|
|
|
ENV GOPATH=/go \
|
|
GOROOT=${GOROOT} \
|
|
GO111MODULE=on \
|
|
PATH="${GOROOT}/bin:${GOPATH}/bin:${PATH}"
|
|
|
|
RUN mkdir -p /usr/local/go && \
|
|
curl https://storage.googleapis.com/golang/go1.13.9.linux-amd64.tar.gz | tar xzf - -C ${GOROOT} --strip-components=1
|
|
|
|
RUN dnf -y install \
|
|
git \
|
|
make \
|
|
gcc \
|
|
librados-devel \
|
|
librbd-devel \
|
|
&& dnf -y update \
|
|
&& true
|