github.com/prebid/prebid-server/v2@v2.18.0/.devcontainer/Dockerfile (about) 1 # From https://github.com/microsoft/vscode-dev-containers/blob/master/containers/go/.devcontainer/Dockerfile 2 ARG VARIANT=1 3 FROM mcr.microsoft.com/vscode/devcontainers/go:${VARIANT} 4 5 # [Optional] Install a version of Node.js using nvm for front end dev 6 ARG INSTALL_NODE="true" 7 ARG NODE_VERSION="lts/*" 8 RUN if [ "${INSTALL_NODE}" = "true" ]; then su vscode -c "source /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi 9 10 # [Optional] Uncomment this section to install additional OS packages. 11 RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ 12 && apt-get -y install --no-install-recommends vim 13 14 # [Optional] Uncomment the next line to use go get to install anything else you need 15 # RUN go get -x <your-dependency-or-tool> 16 17 # [Optional] Uncomment this line to install global node packages. 18 # RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && npm install -g <your-package-here>" 2>&1