2023-03-04 15:35:00 -08:00
|
|
|
# For details, see https://github.com/devcontainers/images/tree/main/src/ruby
|
2024-06-04 10:30:22 -07:00
|
|
|
FROM mcr.microsoft.com/devcontainers/ruby:1-3.3-bookworm
|
2022-03-13 07:03:36 -07:00
|
|
|
|
|
|
|
# Install Rails
|
|
|
|
# RUN gem install rails webdrivers
|
|
|
|
|
2023-11-08 02:57:21 -08:00
|
|
|
ARG NODE_VERSION="20"
|
2022-03-13 07:03:36 -07:00
|
|
|
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 \
|
2024-06-05 12:15:39 -07:00
|
|
|
&& apt-get -y install --no-install-recommends libicu-dev libidn11-dev ffmpeg imagemagick libvips42 libpam-dev
|
2022-03-13 07:03:36 -07:00
|
|
|
|
|
|
|
# [Optional] Uncomment this line to install additional gems.
|
|
|
|
RUN gem install foreman
|
|
|
|
|
|
|
|
# [Optional] Uncomment this line to install global node packages.
|
2023-11-09 06:30:07 -08:00
|
|
|
RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && corepack enable" 2>&1
|
2023-03-04 15:35:00 -08:00
|
|
|
|
|
|
|
COPY welcome-message.txt /usr/local/etc/vscode-dev-containers/first-run-notice.txt
|