Reducing size by moving the required files
This commit is contained in:
parent
16d5988408
commit
9472ac1781
@ -19,9 +19,10 @@ RUN set -x; \
|
|||||||
&& curl -o wkhtmltox.tar.xz -SL https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz \
|
&& curl -o wkhtmltox.tar.xz -SL https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz \
|
||||||
&& echo '3f923f425d345940089e44c1466f6408b9619562 wkhtmltox.tar.xz' | sha1sum -c - \
|
&& echo '3f923f425d345940089e44c1466f6408b9619562 wkhtmltox.tar.xz' | sha1sum -c - \
|
||||||
&& tar xvf wkhtmltox.tar.xz \
|
&& tar xvf wkhtmltox.tar.xz \
|
||||||
&& cp wkhtmltox/lib/* /usr/local/lib/ \
|
&& rm wkhtmltox.tar.xz \
|
||||||
&& cp wkhtmltox/bin/* /usr/local/bin/ \
|
&& mv wkhtmltox/lib/* /usr/local/lib/ \
|
||||||
&& cp -r wkhtmltox/share/man/man1 /usr/local/share/man/
|
&& mv wkhtmltox/bin/* /usr/local/bin/ \
|
||||||
|
&& rm -r wkhtmltox/
|
||||||
|
|
||||||
# Install Odoo
|
# Install Odoo
|
||||||
ENV ODOO_VERSION 11.0
|
ENV ODOO_VERSION 11.0
|
||||||
|
Loading…
Reference in New Issue
Block a user