Skip to content

Commit b23f6f5

Browse files
manavgupkevalmahajan
authored andcommitted
fix: remove ps from copy list - not present in base image
The ps command is not available in the UBI base image and is not required for the application to function. Removed from copy list. Signed-off-by: Manav Gupta <manavg@gmail.com>
1 parent 023f2b0 commit b23f6f5

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
@@ -196,7 +196,7 @@ RUN set -euo pipefail \
196196
&& mkdir -p "${ROOTFS_PATH:?}"/{etc,usr/bin,usr/lib64,var/tmp,tmp,proc,sys,dev,run} \
197197
&& cp -a /etc/{passwd,group,nsswitch.conf,pki,ssl} "${ROOTFS_PATH:?}/etc/" \
198198
&& cp -a /usr/bin/python${PYTHON_VERSION} "${ROOTFS_PATH:?}/usr/bin/" \
199-
&& cp -a /usr/bin/{bash,sh,ps} "${ROOTFS_PATH:?}/usr/bin/" \
199+
&& cp -a /usr/bin/{bash,sh} "${ROOTFS_PATH:?}/usr/bin/" \
200200
&& cp -a /usr/lib64/python${PYTHON_VERSION} "${ROOTFS_PATH:?}/usr/lib64/" \
201201
&& cp -a /usr/lib64/*.so* "${ROOTFS_PATH:?}/usr/lib64/" \
202202
&& ln -sf python${PYTHON_VERSION} "${ROOTFS_PATH:?}/usr/bin/python3" \

0 commit comments

Comments
 (0)