From 627a1f5ea11d29b31c8180c443d36e79ab358f16 Mon Sep 17 00:00:00 2001 From: sam#gemmi-win10 Date: Mon, 20 Nov 2023 02:57:24 +0800 Subject: [PATCH] RUN rm -rf /rootfs/usr/local/xrdp /rootfs/usr/local/tigervnc --- compile/build-alpine/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compile/build-alpine/Dockerfile b/compile/build-alpine/Dockerfile index 7ec49ac9..dc1b651e 100644 --- a/compile/build-alpine/Dockerfile +++ b/compile/build-alpine/Dockerfile @@ -200,7 +200,7 @@ RUN find /rootfs${STATIC} -type f |sort |wc # CARE!! dirty clear; # RUN rm -rf /rootfs${STATIC}/tigervnc # RUN rm -rf /rootfs${STATIC}/xrdp -# RUN rm -rf /rootfs/usr/local/xrdp /rootfs/usr/local/tigervnc +RUN rm -rf /rootfs/usr/local/xrdp /rootfs/usr/local/tigervnc # stages: 未用到的stage,会跳过构建 COPY --from=tiger ${STATIC} /rootfs${STATIC} COPY --from=xrdp ${STATIC} /rootfs${STATIC} @@ -210,7 +210,7 @@ COPY --from=openbox ${STATIC} /rootfs${STATIC} COPY --from=suckless ${STATIC} /rootfs${STATIC} # clear lib,share/man; create links: (ubt/deb: bin> /usr/bin) -RUN rm -rf /rootfs/bin /rootfs/sbin; +# RUN rm -rf /rootfs/bin /rootfs/sbin; RUN rm -rf /rootfs/usr/bin /rootfs/usr/sbin; mkdir -p /rootfs/usr/bin /rootfs/usr/sbin; \ \ # clear-xrdp;