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 \
31 && rm -rf /var/lib/apt/lists/*
33 # Install compatible Osmosis to help users import sample data in a new instance
34 RUN curl -OL https://github.com/openstreetmap/osmosis/releases/download/0.47.2/osmosis-0.47.2.tgz \
35 && tar -C /usr/local -xzf osmosis-0.47.2.tgz
37 ENV DEBIAN_FRONTEND=dialog
43 # Install Ruby packages
44 ADD Gemfile Gemfile.lock /app/
45 RUN gem install bundler \
48 # Install NodeJS packages using yarnpkg
49 # `bundle exec rake yarn:install` will not work
50 ADD package.json yarn.lock /app/