2023-03-05 08:35:00 +09:00
|
|
|
# For details, see https://github.com/devcontainers/images/tree/main/src/ruby
|
2024-06-05 02:30:22 +09:00
|
|
|
FROM mcr.microsoft.com/devcontainers/ruby:1-3.3-bookworm
|
2022-03-13 23:03:36 +09:00
|
|
|
|
2024-06-08 19:33:28 +09:00
|
|
|
# Install node version from .nvmrc
|
|
|
|
WORKDIR /app
|
|
|
|
COPY .nvmrc .
|
|
|
|
RUN /bin/bash --login -i -c "nvm install"
|
2022-03-13 23:03:36 +09:00
|
|
|
|
2024-06-08 05:18:02 +09:00
|
|
|
# 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
|
2022-03-13 23:03:36 +09:00
|
|
|
|
2024-09-04 17:20:46 +09:00
|
|
|
# Disable download prompt for Corepack
|
|
|
|
ENV COREPACK_ENABLE_DOWNLOAD_PROMPT=0
|
|
|
|
|
2024-06-08 05:18:02 +09:00
|
|
|
# Move welcome message to where VS Code expects it
|
2024-06-08 19:33:28 +09:00
|
|
|
COPY .devcontainer/welcome-message.txt /usr/local/etc/vscode-dev-containers/first-run-notice.txt
|