mirror of
https://github.com/redhat-developer/odo.git
synced 2025-10-19 03:06:19 +03:00
Updating golang version to 1.15 (#4121)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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 \
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user