mirror of
https://github.com/mastodon/mastodon.git
synced 2024-08-20 21:08:15 -07:00
5f15a892fa
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
20 lines
863 B
Docker
20 lines
863 B
Docker
# For details, see https://github.com/devcontainers/images/tree/main/src/ruby
|
|
FROM mcr.microsoft.com/devcontainers/ruby:1-3.3-bookworm
|
|
|
|
# Install Rails
|
|
# RUN gem install rails webdrivers
|
|
|
|
ARG NODE_VERSION="20"
|
|
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 libvips42 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 && corepack enable" 2>&1
|
|
|
|
COPY welcome-message.txt /usr/local/etc/vscode-dev-containers/first-run-notice.txt
|