about summary refs log tree commit diff
path: root/Dockerfile
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2019-05-25 23:20:28 +0200
committerEugen Rochko <eugen@zeonfederated.com>2019-05-25 23:20:28 +0200
commitc90f3b9865cec8386b3258169c38dbc6128a696e (patch)
treead19eda4ab41baf6b3c2ae37cef8ce6965c4fb1c /Dockerfile
parent0852e643b7d5ff0f97e2a443a7427fceed5d1421 (diff)
Docker: Keep /var/lib/apt/ to keep apt working (#10830)
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 32af8ddb5..46631cde4 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -95,7 +95,7 @@ RUN apt -y --no-install-recommends install \
 	ln -s /opt/mastodon /mastodon && \
 	gem install bundler && \
 	rm -rf /var/cache && \
-	rm -rf /var/lib/apt
+	rm -rf /var/lib/apt/lists/*
 
 # Add tini
 ENV TINI_VERSION="0.18.0"