mirror of
https://github.com/frappe/frappe_docker.git
synced 2025-01-11 09:35:12 +00:00
update: use wkhtmltopdf for buster_amd64
This commit is contained in:
parent
e5a333d69e
commit
b057e12bdc
@ -53,8 +53,8 @@ RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen \
|
|||||||
&& dpkg-reconfigure --frontend=noninteractive locales
|
&& dpkg-reconfigure --frontend=noninteractive locales
|
||||||
|
|
||||||
# Install wkhtmltox correctly
|
# Install wkhtmltox correctly
|
||||||
RUN wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.stretch_amd64.deb
|
RUN wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.buster_amd64.deb
|
||||||
RUN dpkg -i wkhtmltox_0.12.5-1.stretch_amd64.deb && rm wkhtmltox_0.12.5-1.stretch_amd64.deb
|
RUN dpkg -i wkhtmltox_0.12.5-1.buster_amd64.deb && rm wkhtmltox_0.12.5-1.buster_amd64.deb
|
||||||
|
|
||||||
# Create new user with home directory, improve docker compatibility with UID/GID 1000, add user to sudo group, allow passwordless sudo, switch to that user and change directory to user home directory
|
# Create new user with home directory, improve docker compatibility with UID/GID 1000, add user to sudo group, allow passwordless sudo, switch to that user and change directory to user home directory
|
||||||
RUN groupadd -g 1000 frappe
|
RUN groupadd -g 1000 frappe
|
||||||
|
@ -18,8 +18,8 @@ RUN install_packages \
|
|||||||
build-essential
|
build-essential
|
||||||
|
|
||||||
# Install wkhtmltox correctly
|
# Install wkhtmltox correctly
|
||||||
RUN wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.stretch_amd64.deb
|
RUN wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.buster_amd64.deb
|
||||||
RUN dpkg -i wkhtmltox_0.12.5-1.stretch_amd64.deb && rm wkhtmltox_0.12.5-1.stretch_amd64.deb
|
RUN dpkg -i wkhtmltox_0.12.5-1.buster_amd64.deb && rm wkhtmltox_0.12.5-1.buster_amd64.deb
|
||||||
|
|
||||||
RUN mkdir -p apps logs commands /home/frappe/backups
|
RUN mkdir -p apps logs commands /home/frappe/backups
|
||||||
|
|
||||||
|
@ -15,8 +15,8 @@ RUN install_packages \
|
|||||||
xfonts-base
|
xfonts-base
|
||||||
|
|
||||||
# Install wkhtmltox correctly
|
# Install wkhtmltox correctly
|
||||||
RUN wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.stretch_amd64.deb
|
RUN wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.buster_amd64.deb
|
||||||
RUN dpkg -i wkhtmltox_0.12.5-1.stretch_amd64.deb && rm wkhtmltox_0.12.5-1.stretch_amd64.deb
|
RUN dpkg -i wkhtmltox_0.12.5-1.buster_amd64.deb && rm wkhtmltox_0.12.5-1.buster_amd64.deb
|
||||||
|
|
||||||
RUN mkdir -p apps logs commands /home/frappe/backups
|
RUN mkdir -p apps logs commands /home/frappe/backups
|
||||||
|
|
||||||
|
@ -18,8 +18,8 @@ RUN install_packages \
|
|||||||
build-essential
|
build-essential
|
||||||
|
|
||||||
# Install wkhtmltox correctly
|
# Install wkhtmltox correctly
|
||||||
RUN wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.stretch_amd64.deb
|
RUN wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.buster_amd64.deb
|
||||||
RUN dpkg -i wkhtmltox_0.12.5-1.stretch_amd64.deb && rm wkhtmltox_0.12.5-1.stretch_amd64.deb
|
RUN dpkg -i wkhtmltox_0.12.5-1.buster_amd64.deb && rm wkhtmltox_0.12.5-1.buster_amd64.deb
|
||||||
|
|
||||||
RUN mkdir -p apps logs commands /home/frappe/backups
|
RUN mkdir -p apps logs commands /home/frappe/backups
|
||||||
|
|
||||||
|
@ -18,8 +18,8 @@ RUN install_packages \
|
|||||||
build-essential
|
build-essential
|
||||||
|
|
||||||
# Install wkhtmltox correctly
|
# Install wkhtmltox correctly
|
||||||
RUN wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.stretch_amd64.deb
|
RUN wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.buster_amd64.deb
|
||||||
RUN dpkg -i wkhtmltox_0.12.5-1.stretch_amd64.deb && rm wkhtmltox_0.12.5-1.stretch_amd64.deb
|
RUN dpkg -i wkhtmltox_0.12.5-1.buster_amd64.deb && rm wkhtmltox_0.12.5-1.buster_amd64.deb
|
||||||
|
|
||||||
RUN mkdir -p apps logs commands /home/frappe/backups
|
RUN mkdir -p apps logs commands /home/frappe/backups
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user