]> git.openstreetmap.org Git - rails.git/blob - .devcontainer/Dockerfile
Localisation updates from https://translatewiki.net.
[rails.git] / .devcontainer / Dockerfile
1 # Make sure RUBY_VERSION matches the Ruby version in .ruby-version
2 ARG RUBY_VERSION=3.4.7
3 FROM ghcr.io/rails/devcontainer/images/ruby:$RUBY_VERSION
4
5 USER root
6 ENV DEBIAN_FRONTEND=noninteractive
7
8 # Required on Windows
9 RUN mkdir -p /workspaces/openstreetmap-website \
10     && chown -R vscode:vscode /workspaces/openstreetmap-website
11
12 # Install system packages then clean up to minimize image size
13 RUN apt-get update \
14   && apt-get install --no-install-recommends -y \
15     file \
16     libarchive-dev \
17     libgd-dev \
18     osmosis \
19   && apt-get clean \
20   && apt-get distclean