mirror of
https://github.com/frappe/frappe_docker.git
synced 2024-12-23 18:48:58 +00:00
Merge pull request #509 from PeterDaveHello/clean-up-apt-cache-in-dockerfile
Make sure apt lists cleaned up in Dockerfile
This commit is contained in:
commit
9d3e66528d
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user