From 264bf6ca9bdf8f92736f0296938740586bf7004c Mon Sep 17 00:00:00 2001 From: Corentin LABBE Date: Mon, 26 Nov 2018 08:54:41 +0100 Subject: base-images: permit to install LAVA 2018.11 --- lava-slave-base/99-stretch-backports | 19 +++++++++++++++++++ lava-slave-base/Dockerfile | 2 ++ 2 files changed, 21 insertions(+) create mode 100644 lava-slave-base/99-stretch-backports (limited to 'lava-slave-base') diff --git a/lava-slave-base/99-stretch-backports b/lava-slave-base/99-stretch-backports new file mode 100644 index 0000000..f8c087b --- /dev/null +++ b/lava-slave-base/99-stretch-backports @@ -0,0 +1,19 @@ +Package: python3-requests +Pin: release n=stretch-backports +Pin-Priority: 500 + +Package: python3-chardet +Pin: release n=stretch-backports +Pin-Priority: 500 + +Package: python3-urllib3 +Pin: release n=stretch-backports +Pin-Priority: 500 + +Package: lava-common +Pin: release n=stretch-backports +Pin-Priority: 500 + +Package: lava-dispatcher +Pin: release n=stretch-backports +Pin-Priority: 500 diff --git a/lava-slave-base/Dockerfile b/lava-slave-base/Dockerfile index 17286ca..ec884cf 100644 --- a/lava-slave-base/Dockerfile +++ b/lava-slave-base/Dockerfile @@ -27,7 +27,9 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get -y install wget gnupg RUN wget http://images.validation.linaro.org/production-repo/production-repo.key.asc RUN apt-key add production-repo.key.asc RUN echo 'deb http://images.validation.linaro.org/production-repo/ stretch-backports main' > /etc/apt/sources.list.d/lava.list +RUN echo "deb http://deb.debian.org/debian/ stretch-backports main" >> /etc/apt/sources.list RUN apt-get clean && apt-get update +COPY 99-stretch-backports /etc/apt/preferences.d/ RUN DEBIAN_FRONTEND=noninteractive apt-get -y install lava-dispatcher COPY scripts/lava-slave /etc/init.d/ -- cgit 1.2.3-korg