1
0
Fork 0
pr3-sose2026-fork/go/.devcontainer/Dockerfile

11 lines
287 B
Docker

FROM golang:1.26-bookworm
RUN apt-get update \
&& apt-get install -y build-essential \
&& rm -rf /var/lib/apt/lists/*
ARG USERNAME=developer
ARG USER_UID=1000
ARG USER_GID=$USER_UID
RUN groupadd --gid $USER_GID $USERNAME && useradd --uid $USER_UID --gid $USER_GID -m $USERNAME