This is an automated email from the ASF dual-hosted git repository.
rantunes pushed a commit to branch kie-issues_755
in repository
https://gitbox.apache.org/repos/asf/incubator-kie-kogito-pipelines.git
The following commit(s) were added to refs/heads/kie-issues_755 by this push:
new b37f7a8d Add Golang to the PATH environment
b37f7a8d is described below
commit b37f7a8dde635fd023fdbf8ffbc770e2b9fb3f07
Author: Rodrigo Antunes <[email protected]>
AuthorDate: Tue Dec 12 16:46:33 2023 -0300
Add Golang to the PATH environment
---
apache-nodes/Dockerfile.kogito-ci-build | 1 +
1 file changed, 1 insertion(+)
diff --git a/apache-nodes/Dockerfile.kogito-ci-build
b/apache-nodes/Dockerfile.kogito-ci-build
index 5fd15d71..ee5979bc 100644
--- a/apache-nodes/Dockerfile.kogito-ci-build
+++ b/apache-nodes/Dockerfile.kogito-ci-build
@@ -95,6 +95,7 @@ RUN wget https://go.dev/dl/go1.19.10.linux-amd64.tar.gz -P
/tmp && \
sudo chown -R nonrootuser:nonrootuser /opt/golang/go && \
sudo chmod -R 755 /opt/golang/go && \
echo 'export GOPATH=${HOME}/go' | sudo tee /etc/profile.d/go.sh && \
+ echo 'export PATH=${PATH}:/opt/golang/go/bin:${GOPATH}/bin' | sudo tee -a
/etc/profile.d/go.sh && \
echo "source /etc/profile.d/go.sh" >> $HOME/.bashrc && \
rm -rf /tmp/go* && \
sudo update-alternatives --install /usr/local/bin/go go
/opt/golang/go/bin/go 1
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]