[FIX]Flectra dockerfile : bad WKHTMLTOPDF fixed
This commit is contained in:
parent
dcb2110169
commit
0110789f4c
@ -19,12 +19,10 @@ RUN apt-get update \
|
|||||||
RUN ln -s /usr/bin/nodejs /usr/bin/node
|
RUN ln -s /usr/bin/nodejs /usr/bin/node
|
||||||
|
|
||||||
# WKHTMLTOPDF and fonts
|
# WKHTMLTOPDF and fonts
|
||||||
RUN 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 \
|
RUN curl -o wkhtmltox.deb -SL https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.stretch_amd64.deb \
|
||||||
&& echo '3f923f425d345940089e44c1466f6408b9619562 wkhtmltox.tar.xz' | sha1sum -c - \
|
&& echo '7e35a63f9db14f93ec7feeb0fce76b30c08f2057 wkhtmltox.deb' | sha1sum -c \
|
||||||
&& tar xvf wkhtmltox.tar.xz \
|
&& dpkg --force-depends -i wkhtmltox.deb \
|
||||||
&& cp wkhtmltox/lib/* /usr/local/lib/ \
|
&& apt-get -y --fix-broken install
|
||||||
&& cp wkhtmltox/bin/* /usr/local/bin/ \
|
|
||||||
&& cp -r wkhtmltox/share/man/man1 /usr/local/share/man/
|
|
||||||
|
|
||||||
# Packages cleanup
|
# Packages cleanup
|
||||||
RUN apt-get purge -y --auto-remove \
|
RUN apt-get purge -y --auto-remove \
|
||||||
|
Loading…
Reference in New Issue
Block a user