mirror of
https://github.com/odoo/runbot.git
synced 2025-03-27 13:25:47 +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>
|
||||||
|
|
||||||
<template id="runbot.docker_install_wkhtml">
|
<template id="runbot.docker_install_wkhtml">
|
||||||
|
<t t-if="values['wkhtml_url']">
|
||||||
# Install wkhtml
|
# Install wkhtml
|
||||||
RUN curl -sSL <t t-esc="values['wkhtml_url']"/> -o /tmp/wkhtml.deb \
|
RUN curl -sSL <t t-esc="values['wkhtml_url']"/> -o /tmp/wkhtml.deb \
|
||||||
&& apt-get update \
|
&& apt-get update \
|
||||||
&& dpkg --force-depends -i /tmp/wkhtml.deb \
|
&& dpkg --force-depends -i /tmp/wkhtml.deb \
|
||||||
&& apt-get install -y -f --no-install-recommends \
|
&& apt-get install -y -f --no-install-recommends \
|
||||||
&& rm /tmp/wkhtml.deb
|
&& rm /tmp/wkhtml.deb
|
||||||
|
</t>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template id="runbot.docker_install_nodejs">
|
<template id="runbot.docker_install_nodejs">
|
||||||
|
Loading…
Reference in New Issue
Block a user