This repository was archived by the owner on Jun 22, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 2727 - run :
2828 name : " Prepare workflow environment variables"
2929 command : |
30- echo 'export BRANCH="$CIRCLE_BRANCH"' >> $BASH_ENV
30+ echo 'export BRANCH="${ CIRCLE_BRANCH//\//-} "' >> $BASH_ENV
3131 cat $BASH_ENV
3232 source $BASH_ENV
3333 echo "Workflow environment variables:"
4343 - run :
4444 name : " Save Docker Images in Cache"
4545 command : |
46- export VERSION=$CIRCLE_BRANCH
46+ export VERSION=${ CIRCLE_BRANCH//\//-}
4747 echo $NAMESPACE/base:$VERSION-$BUILD_DATE
4848 echo $NAMESPACE/node-base:$VERSION-$BUILD_DATE
4949 echo $NAMESPACE/hub:$VERSION-$BUILD_DATE
9898 no_output_timeout : 2m
9999 command : |
100100 export USE_RANDOM_USER=false
101- export BRANCH=$CIRCLE_BRANCH
101+ export BRANCH=${ CIRCLE_BRANCH//\//-}
102102 USE_RANDOM_USER_ID=${USE_RANDOM_USER} NAMESPACE=${NAMESPACE} VERSION=${BRANCH} BUILD_DATE=${BUILD_DATE} SKIP_BUILD=true make test_multi_arch
103103
104104 deploy-multi-arch :
Original file line number Diff line number Diff line change @@ -94,6 +94,7 @@ RUN apt-get -qqy update \
9494# #######################################
9595# Download https://github.com/novnc/noVNC dated 2021-03-30 commit 84f102d6a9ffaf3972693d59bad5c6fddb6d7fb0
9696# Download https://github.com/novnc/websockify dated 2021-03-22 commit c5d365dd1dbfee89881f1c1c02a2ac64838d645f
97+ # Install procps as noVNC's launch.sh depends on it to launch websockify properly
9798ENV NOVNC_SHA="84f102d6a9ffaf3972693d59bad5c6fddb6d7fb0" \
9899 WEBSOCKIFY_SHA="c5d365dd1dbfee89881f1c1c02a2ac64838d645f"
99100RUN wget -nv -O noVNC.zip \
@@ -107,7 +108,11 @@ RUN wget -nv -O noVNC.zip \
107108 && unzip -x websockify.zip \
108109 && rm websockify.zip \
109110 && rm -rf websockify-${WEBSOCKIFY_SHA}/tests \
110- && mv websockify-${WEBSOCKIFY_SHA} /opt/bin/noVNC/utils/websockify
111+ && mv websockify-${WEBSOCKIFY_SHA} /opt/bin/noVNC/utils/websockify \
112+ && apt-get -qqy update \
113+ && apt-get -qqy --no-install-recommends install procps \
114+ && rm -rf /var/lib/apt/lists/* \
115+ && apt-get -qqy clean
111116
112117# =========================================================================================================================================
113118# Run this command for executable file permissions for /dev/shm when this is a "child" container running in Docker Desktop and WSL2 distro
You can’t perform that action at this time.
0 commit comments