Skip to content

Commit

Permalink
Keep gopls version to golang.org/x/tools/gopls v0.16.2 (#207)
Browse files Browse the repository at this point in the history
Signed-off-by: David Kwon <[email protected]>
  • Loading branch information
dkwon17 authored Dec 13, 2024
1 parent c36ee6a commit b5dc4bf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ docker run -ti --rm \
| `yarn` |`<via npm>` |
|--------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---------|-------------------------------------|
Expand Down
6 changes: 3 additions & 3 deletions universal/ubi9/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit b5dc4bf

Please sign in to comment.