1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix the Dockerfile

This commit is contained in:
Rafael Mendonça França 2021-11-15 21:05:09 +00:00 committed by GitHub
parent 9cbc55a858
commit ea26ea7278

View file

@ -8,7 +8,7 @@ FROM mcr.microsoft.com/vscode/devcontainers/ruby:0-${VARIANT}
ARG NODE_VERSION="none" ARG NODE_VERSION="none"
RUN if [ "${NODE_VERSION}" != "none" ]; then su vscode -c "umask 0002 && . /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi RUN if [ "${NODE_VERSION}" != "none" ]; then su vscode -c "umask 0002 && . /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi
COPY library-scripts/github-debian.sh /tmp/library-scripts/ COPY .devcontainer/library-scripts/github-debian.sh /tmp/library-scripts/
RUN apt-get update && bash /tmp/library-scripts/github-debian.sh RUN apt-get update && bash /tmp/library-scripts/github-debian.sh
# [Optional] Uncomment this section to install additional OS packages. # [Optional] Uncomment this section to install additional OS packages.