cmd, lib
[arvados.git] / services / boot / testimage_runit / Dockerfile
1 FROM debian:8
2 RUN apt-get update
3
4 # preload (but don't install) packages arvados-boot might decide to install
5 RUN DEBIAN_FRONTEND=noninteractive apt-get -dy install --no-install-recommends ca-certificates locales nginx postgresql runit
6
7 RUN DEBIAN_FRONTEND=noninteractive apt-get -y install --no-install-recommends runit locales
8
9 RUN ["bash", "-c", "echo en_US.utf8 UTF-8 | tee -a /etc/locale.gen && locale-gen -a && \
10     (echo LANG=en_US.UTF-8; echo LC_ALL=en_US.UTF-8) > /etc/default/locale"]
11
12 RUN DEBIAN_FRONTEND=noninteractive apt-get -y install --no-install-recommends ca-certificates locales nginx postgresql runit
13
14 CMD ["bash", "-c", "runsvdir /etc/sv & arvados-boot && arvados-boot"]