Dockerfile 683 B

123456789101112131415161718
  1. # For details, see https://github.com/devcontainers/images/tree/main/src/ruby
  2. FROM mcr.microsoft.com/devcontainers/ruby:1-3.3-bookworm
  3. # Install node version from .nvmrc
  4. WORKDIR /app
  5. COPY .nvmrc .
  6. RUN /bin/bash --login -i -c "nvm install"
  7. # Install additional OS packages
  8. RUN apt-get update && \
  9. export DEBIAN_FRONTEND=noninteractive && \
  10. apt-get -y install --no-install-recommends libicu-dev libidn11-dev ffmpeg imagemagick libvips42 libpam-dev
  11. # Disable download prompt for Corepack
  12. ENV COREPACK_ENABLE_DOWNLOAD_PROMPT=0
  13. # Move welcome message to where VS Code expects it
  14. COPY .devcontainer/welcome-message.txt /usr/local/etc/vscode-dev-containers/first-run-notice.txt