Merge "Add dep for golang in the build container"
This commit is contained in:
commit
9d7526150f
|
@ -230,5 +230,10 @@ COPY centos-mirror-tools/rpm-gpg-keys/* /etc/pki/rpm-gpg/
|
|||
# Import GPG keys
|
||||
RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY*
|
||||
|
||||
# installing go and setting paths
|
||||
ENV GOPATH="/usr/local/go"
|
||||
ENV PATH="${GOPATH}/bin:${PATH}"
|
||||
RUN yum install -y golang; mkdir -p ${GOPATH}/bin; curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
|
||||
|
||||
# Don't know if it's possible to run services without starting this
|
||||
CMD /usr/sbin/init
|
||||
|
|
Loading…
Reference in New Issue