1
0

Dockerfile 853 B

1234567891011121314151617181920
  1. # For details, see https://github.com/devcontainers/images/tree/main/src/ruby
  2. FROM mcr.microsoft.com/devcontainers/ruby:1-3.2-bullseye
  3. # Install Rails
  4. # RUN gem install rails webdrivers
  5. ARG NODE_VERSION="20"
  6. RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"
  7. # [Optional] Uncomment this section to install additional OS packages.
  8. RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
  9. && apt-get -y install --no-install-recommends libicu-dev libidn11-dev ffmpeg imagemagick libpam-dev
  10. # [Optional] Uncomment this line to install additional gems.
  11. RUN gem install foreman
  12. # [Optional] Uncomment this line to install global node packages.
  13. RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && corepack enable" 2>&1
  14. COPY welcome-message.txt /usr/local/etc/vscode-dev-containers/first-run-notice.txt