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