From 5c8eb12951bdcd737d373fd7a8a49d2a07d61793 Mon Sep 17 00:00:00 2001 From: Nick Boldt Date: Fri, 29 May 2020 22:47:58 -0400 Subject: [PATCH] as of go 1.13 image, PATH already includes /opt/rh/go-toolset-1.13/root/usr/bin (#291) Change-Id: I994d8aa4001e24162a2eb1d8b0a36ce269985f00 Signed-off-by: nickboldt --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 525c65334..357de0732 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,8 +14,7 @@ # NOTE: since updateBaseImages.sh does not support other registries than RHCC, update to RHEL8 # https://access.redhat.com/containers/?tab=tags#/registry.access.redhat.com/devtools/go-toolset-rhel7 FROM registry.access.redhat.com/devtools/go-toolset-rhel7:1.13.4-18 as builder -ENV PATH=/opt/rh/go-toolset-1.12/root/usr/bin:$PATH \ - GOPATH=/go/ +ENV GOPATH=/go/ USER root ADD . /che-operator