From b1add16fbd219ecc978947827fc6a6e445b1881d Mon Sep 17 00:00:00 2001 From: Christophe Monniez Date: Fri, 7 Jun 2019 10:15:24 +0200 Subject: [PATCH] [FIX] runbot: add missing apt update in Dockerfile When installing software with apt-get in a Dockerfile, it should be preceded with an apt-get update in the same RUN. Otherwise, the step may fail if the needed package has been updated. --- runbot/data/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/runbot/data/Dockerfile b/runbot/data/Dockerfile index 29377f28..efd3d41d 100644 --- a/runbot/data/Dockerfile +++ b/runbot/data/Dockerfile @@ -44,6 +44,7 @@ RUN curl -sSL https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-li # Install wkhtml RUN curl -sSL https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.bionic_amd64.deb -o /tmp/wkhtml.deb \ + && apt-get update \ && dpkg --force-depends -i /tmp/wkhtml.deb \ && apt-get install -y -f --no-install-recommends \ && rm /tmp/wkhtml.deb