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
|
FROM debian:12-slim
|
||||||
WORKDIR /repo
|
WORKDIR /repo
|
||||||
COPY run.sh /root
|
COPY run.sh /root
|
||||||
RUN apt update
|
RUN apt update && apt install createrepo-c -y && apt clean
|
||||||
RUN apt install createrepo-c -y
|
|
||||||
CMD /root/run.sh
|
CMD /root/run.sh
|
Loading…
Reference in a new issue