mirror of
https://github.com/k8snetworkplumbingwg/multus-cni.git
synced 2025-07-07 04:38:39 +00:00
Update golang version for installing packages
This commit is contained in:
parent
085870c4b5
commit
0724c2b9b0
@ -4,7 +4,7 @@ FROM centos:centos7 as build
|
||||
# Add everything
|
||||
ADD . /usr/src/multus-cni
|
||||
|
||||
ENV INSTALL_PKGS "git golang-1.13.10-0.el7.x86_64"
|
||||
ENV INSTALL_PKGS "git golang-1.15.13-0.el7.x86_64"
|
||||
RUN rpm --import https://mirror.go-repo.io/centos/RPM-GPG-KEY-GO-REPO && \
|
||||
curl -s https://mirror.go-repo.io/centos/go-repo.repo | tee /etc/yum.repos.d/go-repo.repo && \
|
||||
yum install -y $INSTALL_PKGS && \
|
||||
|
Loading…
Reference in New Issue
Block a user