File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ RUN chmod -R g-w /mnt/rootfs/etc/passwd
3737
3838COPY --from=machine-exec --chown=0:0 /go/bin/che-machine-exec /mnt/rootfs/bin/machine-exec
3939COPY --chmod=755 /build/scripts/*.sh /mnt/rootfs/
40- COPY --chmod=755 /build/scripts/helper/check-runtime-libs.sh /mnt/rootfs/check-runtime-libs.sh
40+ COPY --chmod=755 /build/scripts/helper/check-runtime-libs.sh /mnt/rootfs/bin/ check-runtime-libs.sh
4141COPY --chmod=755 /build/remote-config /mnt/rootfs/remote/data/Machine/
4242
4343# Create all-in-one image
Original file line number Diff line number Diff line change @@ -16,6 +16,10 @@ cp -r /checode-* /checode/
1616# Copy machine-exec as well
1717mkdir -p /checode/bin
1818cp /bin/machine-exec /checode/bin/
19+ # Copy helper scripts if present in the image
20+ if [ -f /bin/check-runtime-libs.sh ]; then
21+ cp /bin/check-runtime-libs.sh /checode/bin/
22+ fi
1923# Copy entrypoint
2024cp /entrypoint-volume.sh /checode/
2125# Copy remote configuration
You can’t perform that action at this time.
0 commit comments