chore: Update Dockerfile to remove sudo from fc-cache command

This commit is contained in:
xuef
2024-06-03 07:33:03 +00:00
parent 1cb1f71984
commit 8fcd327af9

View File

@@ -16,7 +16,7 @@ RUN wget https://gitlab.aiursoft.cn/anduin/anduinos/-/raw/master/Config/fonts.co
RUN wget -P /tmp https://gitlab.aiursoft.cn/anduin/anduinos/-/raw/master/Assets/fonts.zip RUN wget -P /tmp https://gitlab.aiursoft.cn/anduin/anduinos/-/raw/master/Assets/fonts.zip
RUN unzip -o /tmp/fonts.zip -d /usr/share/fonts/ RUN unzip -o /tmp/fonts.zip -d /usr/share/fonts/
RUN rm -f /tmp/fonts.zip RUN rm -f /tmp/fonts.zip
RUN sudo fc-cache -fv RUN fc-cache -fv
RUN mkdocs build RUN mkdocs build