libxslt1-dev \
locales \
postgresql-client \
- ruby3.0 \
- ruby3.0-dev \
+ ruby \
+ ruby-dev \
+ ruby-bundler \
software-properties-common \
tzdata \
unzip \
# 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/
```
sudo apt-get update
-sudo apt-get install ruby3.0 libruby3.0 ruby3.0-dev \
+sudo apt-get install ruby ruby-dev ruby-bundler \
libvips-dev libxml2-dev libxslt1-dev nodejs \
build-essential git-core \
postgresql postgresql-contrib libpq-dev libsasl2-dev \
libffi-dev libgd-dev libarchive-dev libbz2-dev npm
-sudo gem3.0 install bundler
sudo npm install --global yarn
```
apt-get upgrade -y
# install packages as explained in INSTALL.md
-apt-get install -y ruby3.0 libruby3.0 ruby3.0-dev \
+apt-get install -y ruby ruby-dev ruby-bundler \
libxml2-dev libxslt1-dev nodejs npm \
build-essential git-core \
postgresql postgresql-contrib libpq-dev libvips-dev \
libsasl2-dev libffi-dev libgd-dev libarchive-dev libbz2-dev
-gem3.0 install --version "~> 2.1.4" bundler
npm install --global yarn
## install the bundle necessary for openstreetmap-website