[misc] devcontainer Dockerfile: pin gopls to v0.18.1 (latest that supports golang 1.23) (#4240)

Container will fail to build with newer versions of gopls unless golang is updated to 1.24. The latest stable version supporting 1.23 is gopls v0.18.1
This commit is contained in:
Bilgeworth
2025-07-29 14:52:18 -04:00
committed by GitHub
parent a72ef1af39
commit 34042b8171

View File

@@ -9,7 +9,7 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
libayatana-appindicator3-dev=0.5.5-2+deb11u2 \ libayatana-appindicator3-dev=0.5.5-2+deb11u2 \
&& apt-get clean \ && apt-get clean \
&& rm -rf /var/lib/apt/lists/* \ && rm -rf /var/lib/apt/lists/* \
&& go install -v golang.org/x/tools/gopls@latest && go install -v golang.org/x/tools/gopls@v0.18.1
WORKDIR /app WORKDIR /app