1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2026-05-16 09:48:13 +02:00
Files
oauth2-proxy/.devcontainer/Dockerfile
Br1an 5f446c3e00 fix(devcontainer): bump Go version to 1.25 in devcontainer base image (#3366)
The devcontainer was using Go 1.23 but go.mod requires Go 1.25.0.
This caused 'go mod tidy' to fail in the devcontainer environment.

Signed-off-by: Jan Larwig <jan@larwig.com>
2026-03-14 10:08:19 +08:00

15 lines
334 B
Docker

FROM mcr.microsoft.com/vscode/devcontainers/go:1-1.25
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
pre-commit \
vim \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /go/pkg \
&& chmod -R a+w /go/pkg
WORKDIR /workspace