This is an automated email from the ASF dual-hosted git repository.

mitchell852 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git


The following commit(s) were added to refs/heads/master by this push:
     new 41bcbfb  Add GOPATH bin directory to the PATH (#5108)
41bcbfb is described below

commit 41bcbfb4d43ce613c7cabbf99e7f66572483bc4e
Author: Zach Hoffman <[email protected]>
AuthorDate: Tue Oct 6 09:28:21 2020 -0600

    Add GOPATH bin directory to the PATH (#5108)
---
 infrastructure/cdn-in-a-box/traffic_ops_integration_test/Dockerfile | 1 +
 traffic_ops/app/bin/tests/Dockerfile-golangtest                     | 1 +
 2 files changed, 2 insertions(+)

diff --git 
a/infrastructure/cdn-in-a-box/traffic_ops_integration_test/Dockerfile 
b/infrastructure/cdn-in-a-box/traffic_ops_integration_test/Dockerfile
index 74d09f4..7558e94 100644
--- a/infrastructure/cdn-in-a-box/traffic_ops_integration_test/Dockerfile
+++ b/infrastructure/cdn-in-a-box/traffic_ops_integration_test/Dockerfile
@@ -32,6 +32,7 @@ RUN set -o errexit; \
     # Test the go binary
     go version
 ENV GOPATH=/go
+ENV PATH="${PATH}:${GOPATH}/bin"
 
 RUN apk add --no-cache --update git gcc
 
diff --git a/traffic_ops/app/bin/tests/Dockerfile-golangtest 
b/traffic_ops/app/bin/tests/Dockerfile-golangtest
index 5031e8f..271b889 100644
--- a/traffic_ops/app/bin/tests/Dockerfile-golangtest
+++ b/traffic_ops/app/bin/tests/Dockerfile-golangtest
@@ -33,6 +33,7 @@ RUN go_version=$(cat /GO_VERSION) && \
     ln -s /usr/local/go/bin/go /usr/bin/go && \
     rm go.tar.gz
 ENV GOPATH=/go
+ENV PATH="${PATH}:${GOPATH}/bin"
 
 ADD traffic_ops /go/src/$DIR/traffic_ops
 ADD lib /go/src/$DIR/lib

Reply via email to