This commit is contained in:
YuCat-OVO 2024-03-03 22:30:33 +08:00
parent 3a094e93a8
commit c5dfca0e08

View File

@ -31,12 +31,32 @@ RUN \
echo "**** fix trusted.gpg ****" && \ echo "**** fix trusted.gpg ****" && \
mv /etc/apt/trusted.gpg /etc/apt/trusted.gpg.d/docker.gpg && \ mv /etc/apt/trusted.gpg /etc/apt/trusted.gpg.d/docker.gpg && \
echo "**** install runtime packages ****" && \ echo "**** install runtime packages ****" && \
if [ -n ${TZ} ]; then \
echo "**** TZ not found, setting up ****" && \
export TZ=Asia/Shanghai; \
fi && \
export DEBIAN_FRONTEND=noninteractive && \
apt-get update && \ apt-get update && \
apt-get install -y --no-install-recommends \ apt-get install -y --no-install-recommends \
wget \ wget \
fonts-wqy-microhei \ fonts-wqy-microhei \
fonts-wqy-zenhei \ fonts-wqy-zenhei \
desktop-file-utils && \ dbus \
fcitx-rime \
libnss3 \
libopengl0 \
libxkbcommon-x11-0 \
libxcb-cursor0 \
libxcb-icccm4 \
libxcb-image0 \
libxcb-keysyms1 \
libxcb-randr0 \
libxcb-render-util0 \
libxcb-xinerama0 \
libxdamage1 \
poppler-utils \
python3 \
python3-xdg && \
echo "**** install BaiduNetdisk ****" && \ echo "**** install BaiduNetdisk ****" && \
if [ "${TARGETPLATFORM}" = "linux/amd64" ]; then \ if [ "${TARGETPLATFORM}" = "linux/amd64" ]; then \
echo "**** ${TARGETPLATFORM}, reading from url.json ****"; \ echo "**** ${TARGETPLATFORM}, reading from url.json ****"; \