mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 11:00:25 +00:00
Install git in devel dockerfile
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>
This commit is contained in:
parent
c629c3bf52
commit
f2e98a19e8
@ -1,9 +1,11 @@
|
|||||||
FROM ceph/ceph:v15
|
FROM ceph/ceph:v15
|
||||||
|
|
||||||
ENV GOPATH=/go
|
ENV GOPATH=/go \
|
||||||
|
GO111MODULE=on
|
||||||
|
|
||||||
RUN yum -y install \
|
RUN yum -y install \
|
||||||
golang \
|
golang \
|
||||||
|
git \
|
||||||
make \
|
make \
|
||||||
librados-devel \
|
librados-devel \
|
||||||
librbd-devel \
|
librbd-devel \
|
||||||
|
Loading…
Reference in New Issue
Block a user