From 3ed2a180e1a4254dbd6e0e16da8a3c8b50844565 Mon Sep 17 00:00:00 2001 From: Nick Boldt Date: Fri, 29 May 2020 23:06:16 -0400 Subject: [PATCH] seems that while it's on the PATH, go can't be resovled w/o PATH update (#293) Change-Id: I75a1ef5f4591c0dd5a566ff7cdc4824a1c8a37c6 Signed-off-by: nickboldt --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 357de0732..4e5a8501f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,8 @@ # 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 GOPATH=/go/ +ENV PATH=/opt/rh/go-toolset-1.13/root/usr/bin:${PATH} \ + GOPATH=/go/ USER root ADD . /che-operator