From b5dc4bf81d94ceb93ca8f5fdc397ecac4fe20999 Mon Sep 17 00:00:00 2001 From: David Kwon Date: Fri, 13 Dec 2024 05:18:52 -0500 Subject: [PATCH] Keep gopls version to golang.org/x/tools/gopls v0.16.2 (#207) Signed-off-by: David Kwon --- README.md | 2 +- universal/ubi9/Dockerfile | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 02b0a621..13e2d540 100644 --- a/README.md +++ b/README.md @@ -129,7 +129,7 @@ docker run -ti --rm \ | `yarn` |`` | |--------GO-----------|-------------------------------------| | `go` |`go-toolset` | -| `gopls` |`golang.org/x/tools/gopls` | +| `gopls` |`golang.org/x/tools/gopls v0.16.2` | |--------.NET---------|-------------------------------------| | `dotnet` |`dotnet-sdk-8.0` | |------PYTHON---------|-------------------------------------| diff --git a/universal/ubi9/Dockerfile b/universal/ubi9/Dockerfile index 8f6fa3b0..5ddad6f6 100644 --- a/universal/ubi9/Dockerfile +++ b/universal/ubi9/Dockerfile @@ -117,10 +117,10 @@ RUN curl -fLo mill https://raw.githubusercontent.com/lefou/millw/main/millw && \ # C/CPP RUN dnf -y install llvm-toolset gcc gcc-c++ clang clang-libs clang-tools-extra gdb -# Go 1.18+ - installed to /usr/bin/go -# gopls 0.10+ - installed to /home/tooling/go/bin/gopls and /home/tooling/go/pkg/mod/ +# Go 1.22+ - installed to /usr/bin/go +# gopls 0.16.2+ - installed to /home/tooling/go/bin/gopls and /home/tooling/go/pkg/mod/ RUN dnf install -y go-toolset && \ - GO111MODULE=on go install -v golang.org/x/tools/gopls@latest && \ + GO111MODULE=on go install -v golang.org/x/tools/gopls@v0.16.2 && \ chgrp -R 0 /home/tooling && chmod -R g=u /home/tooling ENV GOBIN="/home/tooling/go/bin/" ENV PATH="$GOBIN:$PATH"