mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-23 05:20:19 +00:00
f2e98a19e8
looks like git is not installed by default in v15 base image.This PR installs the git which is required to make containerized build. set GO111MODULE=on in dockerfile we need to set GO111MODULE=on to fix "build flag -mod=vendor only valid when using modules" issue Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
14 lines
169 B
Docker
14 lines
169 B
Docker
FROM ceph/ceph:v15
|
|
|
|
ENV GOPATH=/go \
|
|
GO111MODULE=on
|
|
|
|
RUN yum -y install \
|
|
golang \
|
|
git \
|
|
make \
|
|
librados-devel \
|
|
librbd-devel \
|
|
&& yum -y update \
|
|
&& true
|