about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2019-05-25 23:20:28 +0200
committermultiple creatures <dev@multiple-creature.party>2019-11-19 15:32:08 -0600
commitb6b88a8a1842a4cf050bda45618a639b38c30d0c (patch)
tree8ab238f8912e5065ea8059a70cbbc7e771d3d868
parent9cdc1a6a12283f2feb61d1109c92d5d6637ddb80 (diff)
Docker: Keep /var/lib/apt/ to keep apt working (#10830)
-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"