diff options
author | Corentin LABBE <clabbe@baylibre.com> | 2019-03-19 09:52:31 +0100 |
---|---|---|
committer | Corentin LABBE <clabbe@baylibre.com> | 2019-03-19 09:52:31 +0100 |
commit | 2ef40504a0d5dac643b643271f21a6a07adb3e8e (patch) | |
tree | 5ca0df84ce84eb885c20dc138d2f38e45bb0b47e /lava-master-base/Dockerfile | |
parent | 2ccb65481c04e9c03f99abb8b93a135016e96dad (diff) |
lava-xxx-base: permit to install 2019.03
LAVA has changed its repository location.
Furthermore, it is now accessible via https which need additionnal
package to use it.
Diffstat (limited to 'lava-master-base/Dockerfile')
-rw-r--r-- | lava-master-base/Dockerfile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lava-master-base/Dockerfile b/lava-master-base/Dockerfile index 03b634f..fc7471a 100644 --- a/lava-master-base/Dockerfile +++ b/lava-master-base/Dockerfile @@ -20,16 +20,18 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get -y install \ sudo \ wget \ e2fsprogs \ + letsencrypt \ + apt-transport-https \ gnupg \ vim -RUN 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/ stretch-backports main' > /etc/apt/sources.list.d/lava.list \ +RUN wget https://apt.lavasoftware.org/lavasoftware.key.asc \ + && apt-key add lavasoftware.key.asc \ + && echo 'deb https://apt.lavasoftware.org/release stretch-backports main' > /etc/apt/sources.list.d/lava.list \ && apt-get clean && apt-get update && apt-get -y upgrade RUN service postgresql start \ - && DEBIAN_FRONTEND=noninteractive apt-get -y install lava \ + && DEBIAN_FRONTEND=noninteractive apt-get -y install lava lava-server \ && sudo -u postgres psql lavaserver -c "DELETE FROM lava_scheduler_app_worker WHERE lava_scheduler_app_worker.hostname = 'example.com';" \ && service postgresql stop |