From 0a1abcf2011311d7948e93b34ad474db4b0ee048 Mon Sep 17 00:00:00 2001 From: sam#gemmi-win10 Date: Mon, 6 Nov 2023 00:55:37 +0800 Subject: [PATCH] +FROM base as fluxbox --- compile/build-alpine/Dockerfile | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/compile/build-alpine/Dockerfile b/compile/build-alpine/Dockerfile index 83f3fafa..ac7358ab 100644 --- a/compile/build-alpine/Dockerfile +++ b/compile/build-alpine/Dockerfile @@ -81,11 +81,22 @@ RUN mkdir -p $TARGETPATH; \ find ${TARGETPATH} -type f |sort; +FROM base as fluxbox +ARG COMPILE_FLUX="yes" +ENV CONSOLE_LOG=no \ + TARGETPATH=/usr/local/static/fluxbox +RUN mkdir -p $TARGETPATH; \ + # sh /src/fluxbox/build.sh cache; \ + \ + test "yes" != "$COMPILE_FLUX" && exit 0 || echo doMake; \ + sh /src/fluxbox/build.sh fluxbox; \ + \ + find ${TARGETPATH} -type f |sort; + FROM base as suckless ARG COMPILE_SUCKLESS="yes" ENV CONSOLE_LOG=no \ TARGETPATH=/usr/local/static/suckless -## build.sh: split multi steps, to speed up RUN mkdir -p $TARGETPATH; \ # sh /src/suckless/build.sh cache; \ \ @@ -163,6 +174,7 @@ RUN find /rootfs${STATIC} -type f |sort |wc COPY --from=tiger ${STATIC} /rootfs${STATIC} COPY --from=xrdp ${STATIC} /rootfs${STATIC} COPY --from=dropbear ${STATIC} /rootfs${STATIC} +COPY --from=fluxbox ${STATIC} /rootfs${STATIC} COPY --from=suckless ${STATIC} /rootfs${STATIC} # clear lib,share/man; create links: (ubt/deb: bin> /usr/bin)