summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Dockerfile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 9b6bf62a..032c2aa3 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -10,6 +10,9 @@ RUN cmake . -DCMAKE_INSTALL_PREFIX=/app
RUN make install
FROM fedora:29
-RUN dnf update -y
-RUN dnf install -y libxml2 physfs sqlite lua libsigc++20
+RUN dnf update -y && \
+ dnf install -y libxml2 physfs sqlite lua libsigc++20 && \
+ dnf clean all -q && \
+ rm -rf /var/cache/dnf/*
+
COPY --from=builder /app/ /app/