You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
1.1 KiB
24 lines
1.1 KiB
# For details, see https://github.com/devcontainers/images/tree/main/src/ruby |
|
FROM mcr.microsoft.com/devcontainers/ruby:1-3.2-bullseye |
|
|
|
# Install Rails |
|
# RUN gem install rails webdrivers |
|
|
|
# Default value to allow debug server to serve content over GitHub Codespace's port forwarding service |
|
# The value is a comma-separated list of allowed domains |
|
ENV RAILS_DEVELOPMENT_HOSTS=".githubpreview.dev,.preview.app.github.dev,.app.github.dev" |
|
|
|
ARG NODE_VERSION="16" |
|
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 libicu-dev libidn11-dev ffmpeg imagemagick libpam-dev |
|
|
|
# [Optional] Uncomment this line to install additional gems. |
|
RUN gem install foreman |
|
|
|
# [Optional] Uncomment this line to install global node packages. |
|
RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && npm install -g yarn" 2>&1 |
|
|
|
COPY welcome-message.txt /usr/local/etc/vscode-dev-containers/first-run-notice.txt
|
|
|