mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-05 19:20:12 +08:00
fix: reduce size of quest image by removing unnecessary apt cache
This commit is contained in:
1 parent
2f7845e63e
commit
63e36c1c98
1 file changed
+4
-2
+4
-2
@@ -20,8 +20,10 @@ LABEL maintainer="wancat@wancat.cc"
|
|||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
vim \
|
vim \
|
||||||
zsh \
|
zsh \
|
||||||
curl \
|
sudo \
|
||||||
sudo
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
|
&& rm -rf /var/cache/apt/*
|
||||||
|
|
||||||
COPY ./quests/.includes/zshrc /etc/zsh/zshrc
|
COPY ./quests/.includes/zshrc /etc/zsh/zshrc
|
||||||
RUN rm -rf /etc/skel && mkdir -p /etc/skel
|
RUN rm -rf /etc/skel && mkdir -p /etc/skel
|
||||||
COPY ./quests/entrypoint.sh /entrypoint.sh
|
COPY ./quests/entrypoint.sh /entrypoint.sh
|
||||||
|
|||||||
Reference in new issue
Block a user