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 ebefaabe29
commit 9ca4c5f09f
No known key found for this signature in database
GPG Key ID: D33FA9407A6BE728

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 unzip -o /tmp/fonts.zip -d /usr/share/fonts/
RUN rm -f /tmp/fonts.zip
RUN sudo fc-cache -fv
RUN fc-cache -fv
RUN mkdocs build