mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2024-11-24 08:52:25 +02:00
bc034454f6
* Remove trailing whitespaces in contribution.md They make the pre-commit hook "trailing-whitespace" fail. * Correct Go version in DevContainer and Contibution guide
15 lines
334 B
Docker
15 lines
334 B
Docker
FROM mcr.microsoft.com/vscode/devcontainers/go:1-1.22
|
|
|
|
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
|