Skip to content

Commit c793cb3

Browse files
committed
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! chore: push base image to registry; update smoke tests to pull images
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
1 parent ca30d99 commit c793cb3

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

universal/ubi9/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,10 @@ RUN dnf -y install llvm-toolset gcc gcc-c++ clang clang-libs clang-tools-extra g
127127
# Go 1.22+ - installed to /usr/bin/go
128128
# gopls 0.16.2+ - installed to /home/tooling/go/bin/gopls and /home/tooling/go/pkg/mod/
129129
RUN dnf install -y go-toolset && \
130-
GO111MODULE=on go install -v golang.org/x/tools/gopls@v0.16.2 && \
130+
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 && \
131134
chgrp -R 0 /home/tooling && chmod -R g=u /home/tooling
132135
ENV GOBIN="/home/tooling/go/bin/"
133136
ENV PATH="$GOBIN:$PATH"

0 commit comments

Comments
 (0)