File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ RUN NODE_ARCH=$(echo "console.log(process.arch)" | node) \
8282 && cp -r ../vscode-reh-web-linux-${NODE_ARCH} /checode \
8383 # cache shared libs from this image to provide them to a user's container
8484 && mkdir -p /checode/ld_libs \
85- && find /lib /lib64 /usr/lib64 -name 'ld-linux-*.so*' -exec cp -P -t /checode/ld_libs/ {} + \
85+ && find /lib /lib64 /usr/lib64 -name 'ld-linux-*.so*' -exec cp -L -t /checode/ld_libs/ {} + \
8686 && find /usr/lib64 -name 'libssl.so*' -exec cp -P -t /checode/ld_libs/ {} + \
8787 && find /usr/lib64 -name 'libcrypto.so*' -exec cp -P -t /checode/ld_libs/ {} + \
8888 && find /usr/lib64 -name 'libnode.so*' -exec cp -P -t /checode/ld_libs/ {} + \
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ RUN NODE_ARCH=$(echo "console.log(process.arch)" | node) \
8181 && cp -r ../vscode-reh-web-linux-${NODE_ARCH} /checode \
8282 # cache shared libs from this image to provide them to a user's container
8383 && mkdir -p /checode/ld_libs \
84- && find /lib64 /usr/lib64 -name 'ld-linux-*.so*' -exec cp -P -t /checode/ld_libs/ {} + \
84+ && find /lib / lib64 /usr/lib64 -name 'ld-linux-*.so*' -exec cp -L -t /checode/ld_libs/ {} + \
8585 && find /usr/lib64 -name 'libssl.so*' -exec cp -P -t /checode/ld_libs/ {} + \
8686 && find /usr/lib64 -name 'libcrypto.so*' -exec cp -P -t /checode/ld_libs/ {} + \
8787 && find /usr/lib64 -name 'libbrotli*' 2>/dev/null | xargs -I {} cp -t /checode/ld_libs {} \
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ RUN NODE_VERSION=$(cat /checode-compilation/remote/.npmrc | grep target | cut -d
6161RUN VSCODE_MANGLE_WORKERS=2 NODE_OPTIONS="--max-old-space-size=8192" ./node_modules/.bin/gulp vscode-reh-web-linux-alpine-min
6262RUN cp -r ../vscode-reh-web-linux-alpine /checode
6363RUN mkdir -p /checode/ld_libs \
64- && find /lib /usr/lib -name 'ld-musl-*.so.1' -exec cp -P {} /checode/ld_libs/ \; 2>/dev/null \
64+ && find /lib /usr/lib -name 'ld-musl-*.so.1' -exec cp -L {} /checode/ld_libs/ \; 2>/dev/null \
6565 && find /lib /usr/lib -name 'libssl.so*' -exec cp -P {} /checode/ld_libs/ \; 2>/dev/null \
6666 && find /lib /usr/lib -name 'libcrypto.so*' -exec cp -P {} /checode/ld_libs/ \; 2>/dev/null \
6767 && find /lib /usr/lib -name 'libnode.so*' -exec cp -P {} /checode/ld_libs/ \; 2>/dev/null \
Original file line number Diff line number Diff line change 143143export VSCODE_AGENT_FOLDER=/checode/remote
144144
145145if [ -z " $VSCODE_NODEJS_RUNTIME_DIR " ]; then
146- export VSCODE_NODEJS_RUNTIME_DIR=" /checode/checode-linux-libc/ubi8 "
146+ export VSCODE_NODEJS_RUNTIME_DIR=" $runtime_assembly "
147147fi
148148
149149echo " [INFO] Node.js dir for running VS Code: $VSCODE_NODEJS_RUNTIME_DIR "
You can’t perform that action at this time.
0 commit comments