We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22e0d85 commit 47b0c07Copy full SHA for 47b0c07
1 file changed
.devcontainer/Dockerfile
@@ -1,8 +1,10 @@
1
# go-sqlcmd Development Container
2
-# The Go major version here must satisfy the 'go' directive in go.mod.
3
-# The base image sets GOTOOLCHAIN=local, so no Go toolchain is downloaded at
4
-# runtime — update this tag when go.mod's minimum Go version changes.
+# The Go major.minor version here must match the 'go' directive in go.mod.
+# GOTOOLCHAIN=auto lets Go download the exact patch version (e.g. 1.25.9)
+# when the base image is slightly behind. Downloads are verified against
5
+# sum.golang.org.
6
FROM mcr.microsoft.com/devcontainers/go:1.25-bookworm
7
+ENV GOTOOLCHAIN=auto
8
9
# Install additional OS packages
10
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
0 commit comments