Remove apt cache

This removes the apt cache to make the image a bit smaller
This commit is contained in:
Benjamin Zimmerman 2023-10-02 10:23:04 -05:00
parent dc32f6af80
commit ca06077a9a

View file

@ -1,6 +1,5 @@
FROM debian:12-slim
WORKDIR /repo
COPY run.sh /root
RUN apt update
RUN apt install createrepo-c -y
RUN apt update && apt install createrepo-c -y && apt clean
CMD /root/run.sh