Skip to content

Commit 7f81d09

Browse files
committed
add wkhtmltox 0.12.4 to reduce remote exploits via 3rd party host, reduce build time
1 parent 16c73cd commit 7f81d09

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,9 @@ RUN curl -sS https://getcomposer.org/installer | php && mv composer.phar /usr/lo
5353
RUN curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar && chmod +x wp-cli.phar && mv wp-cli.phar /usr/local/bin/wp
5454

5555
# wkhtmltox > HTML > PDF Conversation
56-
RUN wget https://downloads.wkhtmltopdf.org/0.12/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz && tar xf wkhtmltox-0.12.4_linux-generic-amd64.tar.xz && cd wkhtmltox/bin && mv wk* /usr/bin/
56+
RUN tar xf /opt/app/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz -C /opt && mv /opt/wkhtmltox/bin/wk* /usr/bin/
5757
RUN wkhtmltopdf --version
5858

59-
6059
# LARAVEL
6160
RUN composer global require "laravel/installer"
6261

13.9 MB
Binary file not shown.

0 commit comments

Comments
 (0)