Skip to content

Commit

Permalink
+FROM base as fluxbox
Browse files Browse the repository at this point in the history
  • Loading branch information
sam#gemmi-win10 committed Nov 5, 2023
1 parent 59ac2b7 commit 6c9722f
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion compile/build-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
\
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 6c9722f

Please sign in to comment.