mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-17 20:00:23 +00:00
f942e2175a
The Ceph base image moved to CentOS 8 which uses dnf. Use that instead of yum. Signed-off-by: Niels de Vos <ndevos@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 dnf -y install \
|
|
git \
|
|
make \
|
|
gcc \
|
|
librados-devel \
|
|
librbd-devel \
|
|
&& dnf -y update \
|
|
&& true
|