2023-03-05 00:35:00 +01:00
|
|
|
# For details, see https://github.com/devcontainers/images/tree/main/src/ruby
|
2024-06-04 19:30:22 +02:00
|
|
|
FROM mcr.microsoft.com/devcontainers/ruby:1-3.3-bookworm
|
2022-03-13 15:03:36 +01:00
|
|
|
|
2024-06-07 22:18:02 +02:00
|
|
|
# Update existing node version, keep in sync with .nvmrc
|
2023-11-08 11:57:21 +01:00
|
|
|
ARG NODE_VERSION="20"
|
2024-06-07 15:55:55 +02:00
|
|
|
RUN . /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1
|
2022-03-13 15:03:36 +01:00
|
|
|
|
2024-06-07 22:18:02 +02: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 15:03:36 +01:00
|
|
|
|
2024-06-07 22:18:02 +02:00
|
|
|
# Install global node packages
|
2024-06-07 15:55:55 +02:00
|
|
|
RUN . /usr/local/share/nvm/nvm.sh && corepack enable 2>&1
|
2023-03-05 00:35:00 +01:00
|
|
|
|
2024-06-07 22:18:02 +02:00
|
|
|
# Move welcome message to where VS Code expects it
|
2023-03-05 00:35:00 +01:00
|
|
|
COPY welcome-message.txt /usr/local/etc/vscode-dev-containers/first-run-notice.txt
|