This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# [Choice] Ruby version: 2, 2.7, 2.6, 2.5 | |
ARG VARIANT=2 | |
FROM mcr.microsoft.com/vscode/devcontainers/ruby:0-${VARIANT} | |
# Install Rails | |
RUN gem install rails webdrivers | |
ARG NODE_VERSION="lts/*" | |
RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1" | |
# [Optional] Uncomment this section to install additional OS packages. | |
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ | |
# && apt-get -y install --no-install-recommends <your-package-list-here> | |
# [Optional] Uncomment this line to install additional gems. | |
# RUN gem install <your-gem-names-here> | |
# [Optional] Uncomment this line to install global node packages. | |
# RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && npm install -g <your-package-here>" 2>&1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment