Updating golang version to 1.15 (#4121)

This commit is contained in:
Girish Ramnani
2020-10-22 02:37:30 +05:30
committed by GitHub
parent 566f7df76f
commit 436015d028
4 changed files with 5 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
# This Dockerfile builds an image containing the Linux, Mac and Windows version of odo # This Dockerfile builds an image containing the Linux, Mac and Windows version of odo
# layered on top of the ubi7/ubi image. # layered on top of the ubi7/ubi image.
FROM registry.svc.ci.openshift.org/openshift/release:golang-1.13 AS builder FROM registry.svc.ci.openshift.org/openshift/release:golang-1.15 AS builder
COPY . /go/src/github.com/openshift/odo COPY . /go/src/github.com/openshift/odo
WORKDIR /go/src/github.com/openshift/odo WORKDIR /go/src/github.com/openshift/odo

View File

@@ -1,6 +1,6 @@
# Dockerfile to bootstrap build and test in openshift-ci # Dockerfile to bootstrap build and test in openshift-ci
FROM registry.svc.ci.openshift.org/openshift/release:golang-1.13 FROM registry.svc.ci.openshift.org/openshift/release:golang-1.15
RUN yum -y install make wget gcc git httpd-tools RUN yum -y install make wget gcc git httpd-tools

View File

@@ -1,6 +1,6 @@
# Dockerfile to bootstrap build and test in openshift-ci # Dockerfile to bootstrap build and test in openshift-ci
FROM registry.svc.ci.openshift.org/openshift/release:golang-1.13 FROM registry.svc.ci.openshift.org/openshift/release:golang-1.15
RUN yum install sudo -y \ RUN yum install sudo -y \
make \ make \

View File

@@ -13,8 +13,8 @@ export ODO_RPM_VERSION=${ODO_VERSION//-}
# Golang version variables, if you are bumping this, please contact redhat maintainers to ensure that internal # Golang version variables, if you are bumping this, please contact redhat maintainers to ensure that internal
# build systems can handle these versions # build systems can handle these versions
export GOLANG_VERSION=${GOLANG_VERSION:-1.13} export GOLANG_VERSION=${GOLANG_VERSION:-1.15}
export GOLANG_VERSION_NODOT=${GOLANG_VERSION_NODOT:-113} export GOLANG_VERSION_NODOT=${GOLANG_VERSION_NODOT:-115}
# Print env for verifcation # Print env for verifcation
echo "Printing envs for verification" echo "Printing envs for verification"