From 4c101fa7e89d4e8cdd4c35c82a5f9658d77e77a0 Mon Sep 17 00:00:00 2001 From: Rub21 Date: Fri, 15 Dec 2023 14:12:34 -0500 Subject: [PATCH] Add libv8-dev --- images/web/Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/images/web/Dockerfile b/images/web/Dockerfile index c224e353..466489b8 100644 --- a/images/web/Dockerfile +++ b/images/web/Dockerfile @@ -45,7 +45,7 @@ ENV RAILS_ENV=production RUN apt-get update \ && apt-get install -y \ libmagickwand-dev libxml2-dev libxslt1-dev \ - nodejs npm apache2 apache2-dev build-essential git-core postgresql-client \ + nodejs npm libv8-dev apache2 apache2-dev build-essential git-core postgresql-client \ libpq-dev libsasl2-dev imagemagick libffi-dev libgd-dev libarchive-dev libbz2-dev yarnpkg curl unzip \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* @@ -59,7 +59,8 @@ RUN apt-get update \ libcrypto++-dev libargon2-dev libyajl-dev automake autoconf libtool \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* - + + # Install cgimap ENV cgimap /tmp/openstreetmap-cgimap RUN git clone -b master https://github.com/zerebubuth/openstreetmap-cgimap.git $cgimap @@ -83,6 +84,7 @@ RUN mv openstreetmap-website-$OPENSTREETMAP_WEBSITE_GITSHA/* $workdir/ WORKDIR $workdir RUN echo "gem 'image_optim_pack', :git => 'https://github.com/toy/image_optim_pack.git'" >> Gemfile + # Install Ruby packages RUN gem install bundler && bundle install