We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca30d99 commit c793cb3Copy full SHA for c793cb3
1 file changed
universal/ubi9/Dockerfile
@@ -127,7 +127,10 @@ RUN dnf -y install llvm-toolset gcc gcc-c++ clang clang-libs clang-tools-extra g
127
# Go 1.22+ - installed to /usr/bin/go
128
# gopls 0.16.2+ - installed to /home/tooling/go/bin/gopls and /home/tooling/go/pkg/mod/
129
RUN dnf install -y go-toolset && \
130
- GO111MODULE=on go install -v golang.org/x/tools/gopls@v0.16.2 && \
+ for i in $(seq 1 3); do \
131
+ GO111MODULE=on go install -v golang.org/x/tools/gopls@v0.16.2 && break || \
132
+ (echo "Attempt $i failed, retrying..." && sleep 5); \
133
+ done && \
134
chgrp -R 0 /home/tooling && chmod -R g=u /home/tooling
135
ENV GOBIN="/home/tooling/go/bin/"
136
ENV PATH="$GOBIN:$PATH"
0 commit comments