summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2017-10-19 17:12:14 +0200
committerCorentin LABBE <clabbe@baylibre.com>2017-10-24 09:52:54 +0200
commit031469070cc488cf100f343b77bd4ecf0e3680a2 (patch)
tree4e7662bd1dc3176e0913fc67daa99f49ee637486 /Dockerfile
parentd8fb36073a43e2d47c23b1ef423d2921953e15fc (diff)
Use debian stable instead of unstable
Debian unstable is a too moving target for basing a docker.
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile10
1 files changed, 6 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile
index 6ac3117..5a66526 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,6 @@
-FROM bitnami/minideb:unstable
+FROM bitnami/minideb:stretch
+
+RUN apt-get update
# Add services helper utilities to start and stop LAVA
COPY scripts/stop.sh .
@@ -10,7 +12,7 @@ COPY scripts/start.sh .
RUN echo 'lava-server lava-server/instance-name string lava-docker-instance' | debconf-set-selections \
&& echo 'locales locales/locales_to_be_generated multiselect C.UTF-8 UTF-8, en_US.UTF-8 UTF-8 ' | debconf-set-selections \
&& echo 'locales locales/default_environment_locale select en_US.UTF-8' | debconf-set-selections \
- && DEBIAN_FRONTEND=noninteractive install_packages \
+ && DEBIAN_FRONTEND=noninteractive apt-get -y install \
locales \
postgresql \
screen \
@@ -21,9 +23,9 @@ RUN echo 'lava-server lava-server/instance-name string lava-docker-instance' |
&& service postgresql start \
&& wget http://images.validation.linaro.org/production-repo/production-repo.key.asc \
&& apt-key add production-repo.key.asc \
- && echo 'deb http://images.validation.linaro.org/production-repo/ sid main' > /etc/apt/sources.list.d/lava.list \
+ && echo 'deb http://images.validation.linaro.org/production-repo/ stretch-backports main' > /etc/apt/sources.list.d/lava.list \
&& apt-get clean && apt-get update \
- && DEBIAN_FRONTEND=noninteractive install_packages \
+ && DEBIAN_FRONTEND=noninteractive apt-get -y install \
lava \
qemu-system \
qemu-system-arm \