perf: 清理不需要的缓存

pull/8923/head
吴小白 2022-09-29 15:13:50 +08:00 committed by Jiangjie.Bai
parent 41732d7a7b
commit 2f6c9f8260
2 changed files with 4 additions and 2 deletions

View File

@ -47,7 +47,8 @@ RUN --mount=type=cache,target=/var/cache/apt \
&& sed -i "s@# alias l@alias l@g" ~/.bashrc \ && sed -i "s@# alias l@alias l@g" ~/.bashrc \
&& echo "set mouse-=a" > ~/.vimrc \ && echo "set mouse-=a" > ~/.vimrc \
&& echo "no" | dpkg-reconfigure dash \ && echo "no" | dpkg-reconfigure dash \
&& echo "zh_CN.UTF-8" | dpkg-reconfigure locales && echo "zh_CN.UTF-8" | dpkg-reconfigure locales \
&& rm -rf /var/lib/apt/lists/*
ARG ORACLE_LIB_MAJOR=19 ARG ORACLE_LIB_MAJOR=19
ARG ORACLE_LIB_MINOR=10 ARG ORACLE_LIB_MINOR=10

View File

@ -46,7 +46,8 @@ RUN --mount=type=cache,target=/var/cache/apt \
&& sed -i "s@# alias l@alias l@g" ~/.bashrc \ && sed -i "s@# alias l@alias l@g" ~/.bashrc \
&& echo "set mouse-=a" > ~/.vimrc \ && echo "set mouse-=a" > ~/.vimrc \
&& echo "no" | dpkg-reconfigure dash \ && echo "no" | dpkg-reconfigure dash \
&& echo "zh_CN.UTF-8" | dpkg-reconfigure locales && echo "zh_CN.UTF-8" | dpkg-reconfigure locales \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /tmp/build WORKDIR /tmp/build
COPY ./requirements ./requirements COPY ./requirements ./requirements