2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-12-23 18:48:58 +00:00

Make sure apt lists cleaned up in Dockerfile

This commit is contained in:
Peter Dave Hello 2021-08-10 19:16:46 +08:00
parent 7fc0f06610
commit 428b8abffe
2 changed files with 3 additions and 1 deletions

View File

@ -52,6 +52,7 @@ COPY build/common/nginx-default.conf.template /etc/nginx/conf.d/default.conf.tem
COPY build/frappe-nginx/docker-entrypoint.sh /
RUN apt-get update && apt-get install -y rsync && apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& echo "#!/bin/bash" > /rsync \
&& chmod +x /rsync

View File

@ -46,7 +46,8 @@ RUN apt-get update -y && apt-get install \
&& wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.buster_${ARCH}.deb \
&& dpkg -i wkhtmltox_0.12.6-1.buster_${ARCH}.deb && rm wkhtmltox_0.12.6-1.buster_${ARCH}.deb \
&& wget https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh \
&& chown -R frappe:frappe /home/frappe
&& chown -R frappe:frappe /home/frappe \
&& rm -rf /var/lib/apt/lists/* \
# Setup docker-entrypoint
COPY build/common/worker/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh