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