Remove apt cache
This removes the apt cache to make the image a bit smaller
This commit is contained in:
parent
dc32f6af80
commit
ca06077a9a
1 changed files with 1 additions and 2 deletions
|
@ -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
|
Loading…
Reference in a new issue