From c256e05fb77633b9aa05e6c6cd0b1d3a34d479e2 Mon Sep 17 00:00:00 2001 From: sam#gemmi-win10 Date: Fri, 3 Nov 2023 23:55:54 +0800 Subject: [PATCH] /src/tigervnc --- compile/build-alpine/Dockerfile | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/compile/build-alpine/Dockerfile b/compile/build-alpine/Dockerfile index 0bd1a515..c4627f8d 100644 --- a/compile/build-alpine/Dockerfile +++ b/compile/build-alpine/Dockerfile @@ -5,22 +5,23 @@ FROM infrastlabs/x11-base:builder AS base ENV STATIC=/usr/local/static RUN apk update; apk add gawk; # COPY --from=compile ${STATIC}/cache ${STATIC}/cache - + COPY ./src /src + RUN chmod +x /src/**/*.sh; \ + ls -lh /src/**/*.sh # --platform=$BUILDPLATFORM FROM base as tiger ARG COMPILE_TIGER="yes" -ARG TARGETPLATFORM ENV TARGETPATH=/usr/local/static/tigervnc -COPY src/tigervnc /build +# COPY src/tigervnc /build ## build.sh: split multi steps, to speed up RUN mkdir -p $TARGETPATH; \ - chmod +x /build/*.sh; \ - sh /build/build.sh cache; \ - test "yes" != "$COMPILE_TIGER" && exit 0 || echo doMake; \ + sh /src/tigervnc/build.sh cache; \ + \ # https://blog.csdn.net/sodaloveer/article/details/127727729 #wait并行 - sh /build/build.sh b_deps; \ - sh /build/build.sh b_tiger; \ + test "yes" != "$COMPILE_TIGER" && exit 0 || echo doMake; \ + sh /src/tigervnc/build.sh b_deps; \ + sh /src/tigervnc/build.sh b_tiger; \ \ xx-verify --static ${TARGETPATH}/bin/Xvnc; \ xx-verify --static ${TARGETPATH}/bin/vncpasswd; \