mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00
[IMP] runbot: do not install wkhtml when value is empty
This commit is contained in:
parent
12c0a0edf6
commit
1a108669ce
@ -45,12 +45,14 @@ RUN curl -sSL https://nightly.odoo.com/resources/phantomjs.tar.bz2 -o /tmp/phan
|
||||
</template>
|
||||
|
||||
<template id="runbot.docker_install_wkhtml">
|
||||
<t t-if="values['wkhtml_url']">
|
||||
# Install wkhtml
|
||||
RUN curl -sSL <t t-esc="values['wkhtml_url']"/> -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
|
||||
</t>
|
||||
</template>
|
||||
|
||||
<template id="runbot.docker_install_nodejs">
|
||||
|
Loading…
Reference in New Issue
Block a user