mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-30 10:10:21 +00:00
revert back the ceph base image to 14.2
as we are facing the xfs format issue ie ` wrong fs type, bad option, bad superblock on /dev/rbdx, missing codepage or helper program, or other error` as the xfsprogs version has changed in ceph:v15 base image. due to this cephcsi is not working in older kernel versions updates #966 Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
parent
b6b8be3b20
commit
e1c919bddb
@ -1,6 +1,6 @@
|
|||||||
ARG SRC_DIR="/go/src/github.com/ceph/ceph-csi/"
|
ARG SRC_DIR="/go/src/github.com/ceph/ceph-csi/"
|
||||||
ARG GO_ARCH
|
ARG GO_ARCH
|
||||||
ARG BASE_IMAGE=ceph/ceph:v15
|
ARG BASE_IMAGE=ceph/ceph:v14.2
|
||||||
|
|
||||||
FROM ${BASE_IMAGE} as builder
|
FROM ${BASE_IMAGE} as builder
|
||||||
|
|
||||||
@ -17,7 +17,7 @@ ARG GOROOT=/usr/local/go
|
|||||||
RUN mkdir -p ${GOROOT} && \
|
RUN mkdir -p ${GOROOT} && \
|
||||||
curl https://storage.googleapis.com/golang/go${GOLANG_VERSION}.linux-${GO_ARCH}.tar.gz | tar xzf - -C ${GOROOT} --strip-components=1
|
curl https://storage.googleapis.com/golang/go${GOLANG_VERSION}.linux-${GO_ARCH}.tar.gz | tar xzf - -C ${GOROOT} --strip-components=1
|
||||||
|
|
||||||
RUN dnf install libcephfs-devel librados-devel librbd-devel /usr/bin/cc make -y
|
RUN yum install libcephfs-devel librados-devel librbd-devel /usr/bin/cc make -y
|
||||||
|
|
||||||
ENV GOROOT=${GOROOT} \
|
ENV GOROOT=${GOROOT} \
|
||||||
GOPATH=/go \
|
GOPATH=/go \
|
||||||
|
Loading…
Reference in New Issue
Block a user