From 417c4a79958b242dd04c084eca4e3e3afab4fd2e Mon Sep 17 00:00:00 2001 From: Christoph Sieber Date: Fri, 21 Jul 2023 23:14:23 +0200 Subject: [PATCH] add eatmydata eatmydata disables fsync calls. those aren't needed on container builds and disabling these does speed up apt by a lot. --- webservice/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webservice/Dockerfile b/webservice/Dockerfile index b547bd6..1214c71 100644 --- a/webservice/Dockerfile +++ b/webservice/Dockerfile @@ -4,7 +4,8 @@ ENV NEXTCLOUD_VERSION 26.0.4 RUN \ apt-get update && \ - apt-get install -y --no-install-recommends \ + apt-get install -y eatmydata && \ + eatmydata apt-get install -y --no-install-recommends \ supervisor \ cron \ sudo \