mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00
[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.
This commit is contained in:
parent
82dbf43083
commit
b1add16fbd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user