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 f34dde5c841aefde3177ae5fdc00c167b6d77c29 Author: jstastny-cz <[email protected]> AuthorDate: Wed Dec 13 09:46:55 2023 +0100 kogito-ci-build install goimports using alternatives --- 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 ee5979bc..7fdc5ef3 100644 --- a/apache-nodes/Dockerfile.kogito-ci-build +++ b/apache-nodes/Dockerfile.kogito-ci-build @@ -98,7 +98,8 @@ RUN wget https://go.dev/dl/go1.19.10.linux-amd64.tar.gz -P /tmp && \ 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 + 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 # 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]
