]> git.openstreetmap.org Git - rails.git/blobdiff - Dockerfile
Merge pull request #4813 from AntonKhorev/no-fst-italic
[rails.git] / Dockerfile
index c85a6404606d99bd8ef4a416f6eed2a7c6319881..28c3a2ea64cc6b664b777cd129ad0a2fdde114d2 100644 (file)
@@ -9,6 +9,7 @@ RUN apt-get update \
       curl \
       default-jre-headless \
       file \
+      git-core \
       gpg-agent \
       libarchive-dev \
       libffi-dev \
@@ -18,10 +19,12 @@ RUN apt-get update \
       libvips-dev \
       libxml2-dev \
       libxslt1-dev \
+      libyaml-dev \
       locales \
       postgresql-client \
-      ruby3.0 \
-      ruby3.0-dev \
+      ruby \
+      ruby-dev \
+      ruby-bundler \
       software-properties-common \
       tzdata \
       unzip \
@@ -48,8 +51,7 @@ WORKDIR /app
 
 # Install Ruby packages
 ADD Gemfile Gemfile.lock /app/
-RUN gem install bundler \
- && bundle install
+RUN bundle install
 
 # Install NodeJS packages using yarn
 ADD package.json yarn.lock /app/