Skip to content

Commit 0febe21

Browse files
committed
fix: create usr/bin and usr/lib64 subdirectories in rootfs
The mkdir only created top-level directories, but we need usr/bin and usr/lib64 subdirectories for the cp commands to work. Fixed: mkdir creates usr/bin, usr/lib64 explicitly Signed-off-by: Manav Gupta <manavg@gmail.com>
1 parent 484bfaa commit 0febe21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Containerfile.lite

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ RUN python3 -OO -m compileall -q /app/.venv /app/mcpgateway /app/plugins \
110110
# This avoids complex --installroot issues with QEMU emulation
111111
# ----------------------------------------------------------------------------
112112
RUN set -euo pipefail \
113-
&& mkdir -p "${ROOTFS_PATH:?}"/{etc,usr,var,tmp,proc,sys,dev,run} \
113+
&& mkdir -p "${ROOTFS_PATH:?}"/{etc,usr/bin,usr/lib64,var/tmp,tmp,proc,sys,dev,run} \
114114
&& cp -a /etc/{passwd,group,nsswitch.conf,pki,ssl} "${ROOTFS_PATH:?}/etc/" \
115115
&& cp -a /usr/bin/python${PYTHON_VERSION} "${ROOTFS_PATH:?}/usr/bin/" \
116116
&& cp -a /usr/bin/{bash,sh,ps} "${ROOTFS_PATH:?}/usr/bin/" \

0 commit comments

Comments
 (0)