2
1
Fork 0
pr3-ws202526/go/.devcontainer/Dockerfile

10 lines
250 B
Docker

FROM golang:1.25
RUN apt-get update && apt-get install -y build-essential
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
USER $USERNAME