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:
Madhu Rajanna 2020-03-31 10:59:25 +05:30 committed by mergify[bot]
parent c629c3bf52
commit f2e98a19e8

View File

@ -1,9 +1,11 @@
FROM ceph/ceph:v15
ENV GOPATH=/go
ENV GOPATH=/go \
GO111MODULE=on
RUN yum -y install \
golang \
git \
make \
librados-devel \
librbd-devel \