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

jstastnycz pushed a commit to branch kie-issues_755
in repository 
https://gitbox.apache.org/repos/asf/incubator-kie-kogito-pipelines.git

commit fafd34415de70ded17901efb78721652d4e253db
Author: jstastny-cz <[email protected]>
AuthorDate: Wed Dec 13 10:14:23 2023 +0100

    actually install goimports
---
 apache-nodes/Dockerfile.kogito-ci-build | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/apache-nodes/Dockerfile.kogito-ci-build 
b/apache-nodes/Dockerfile.kogito-ci-build
index 7fdc5ef3..462fc110 100644
--- a/apache-nodes/Dockerfile.kogito-ci-build
+++ b/apache-nodes/Dockerfile.kogito-ci-build
@@ -99,7 +99,8 @@ RUN wget https://go.dev/dl/go1.19.10.linux-amd64.tar.gz -P 
/tmp && \
   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 && \
-  sudo update-alternatives --install /usr/local/bin/goimports goimports 
/opt/golang/go/bin/goimports 1
+  go install golang.org/x/tools/cmd/goimports@latest && \
+  sudo update-alternatives --install /usr/local/bin/goimports goimports 
~/go/bin/goimports 1
 
 # Install hub CLI (used for GitHub api operations)
 RUN wget 
https://github.com/mislav/hub/releases/download/v2.14.2/hub-linux-amd64-2.14.2.tgz
 -O /tmp/hub.tgz && \


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to