Skip to content

Commit 28f309d

Browse files
test
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
1 parent 1b21f9c commit 28f309d

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

build/dockerfiles/assembly.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ RUN chmod -R g-w /mnt/rootfs/etc/passwd
3737

3838
COPY --from=machine-exec --chown=0:0 /go/bin/che-machine-exec /mnt/rootfs/bin/machine-exec
3939
COPY --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
4141
COPY --chmod=755 /build/remote-config /mnt/rootfs/remote/data/Machine/
4242

4343
# Create all-in-one image

build/scripts/entrypoint-init-container.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ cp -r /checode-* /checode/
1616
# Copy machine-exec as well
1717
mkdir -p /checode/bin
1818
cp /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
2024
cp /entrypoint-volume.sh /checode/
2125
# Copy remote configuration

0 commit comments

Comments
 (0)