github.com/alloyzeus/go-azfl@v0.0.0-20231220071816-9740126a2d07/.devcontainer/Dockerfile (about) 1 # See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.234.0/containers/go/.devcontainer/base.Dockerfile 2 3 # [Choice] Go version (use -bullseye variants on local arm64/Apple Silicon): 1, 1.16, 1.17, 1-bullseye, 1.16-bullseye, 1.17-bullseye, 1-buster, 1.16-buster, 1.17-buster 4 ARG VARIANT="1.18-bullseye" 5 FROM mcr.microsoft.com/vscode/devcontainers/go:0-${VARIANT} 6 7 # [Choice] Node.js version: none, lts/*, 16, 14, 12, 10 8 ARG NODE_VERSION="none" 9 RUN if [ "${NODE_VERSION}" != "none" ]; then su vscode -c "umask 0002 && . /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi 10 11 # [Optional] Uncomment this section to install additional OS packages. 12 # RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ 13 # && apt-get -y install --no-install-recommends <your-package-list-here> 14 15 # [Optional] Uncomment the next lines to use go get to install anything else you need 16 # USER vscode 17 # RUN go get -x <your-dependency-or-tool> 18 19 # [Optional] Uncomment this line to install global node packages. 20 # RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && npm install -g <your-package-here>" 2>&1