3 ENV DEBIAN_FRONTEND=noninteractive
5 # Install system packages then clean up to minimize image size
7 && apt-get install --no-install-recommends -y \
10 default-jre-headless \
32 && rm -rf /var/lib/apt/lists/*
34 # Install compatible Osmosis to help users import sample data in a new instance
35 RUN curl -OL https://github.com/openstreetmap/osmosis/releases/download/0.47.2/osmosis-0.47.2.tgz \
36 && tar -C /usr/local -xzf osmosis-0.47.2.tgz
38 ENV DEBIAN_FRONTEND=dialog
44 # Install Ruby packages
45 ADD Gemfile Gemfile.lock /app/
46 RUN gem install bundler \
49 # Install NodeJS packages using yarnpkg
50 # `bundle exec rake yarn:install` will not work
51 ADD package.json yarn.lock /app/
52 RUN yarnpkg --ignore-engines install