Skip to content

Commit 55e949d

Browse files
fix
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
1 parent 569e093 commit 55e949d

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

build/dockerfiles/linux-libc-ubi8.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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/ {} + \

build/dockerfiles/linux-libc-ubi9.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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 {} \

build/dockerfiles/linux-musl.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ RUN NODE_VERSION=$(cat /checode-compilation/remote/.npmrc | grep target | cut -d
6161
RUN VSCODE_MANGLE_WORKERS=2 NODE_OPTIONS="--max-old-space-size=8192" ./node_modules/.bin/gulp vscode-reh-web-linux-alpine-min
6262
RUN cp -r ../vscode-reh-web-linux-alpine /checode
6363
RUN 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 \

build/scripts/entrypoint-volume.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ fi
143143
export VSCODE_AGENT_FOLDER=/checode/remote
144144

145145
if [ -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"
147147
fi
148148

149149
echo "[INFO] Node.js dir for running VS Code: $VSCODE_NODEJS_RUNTIME_DIR"

0 commit comments

Comments
 (0)