Skip to content

Commit c057be3

Browse files
committed
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 <[email protected]>
1 parent 0febe21 commit c057be3

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
@@ -113,7 +113,7 @@ RUN set -euo pipefail \
113113
&& 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/" \
116-
&& cp -a /usr/bin/{bash,sh,ps} "${ROOTFS_PATH:?}/usr/bin/" \
116+
&& cp -a /usr/bin/{bash,sh} "${ROOTFS_PATH:?}/usr/bin/" \
117117
&& cp -a /usr/lib64/python${PYTHON_VERSION} "${ROOTFS_PATH:?}/usr/lib64/" \
118118
&& cp -a /usr/lib64/*.so* "${ROOTFS_PATH:?}/usr/lib64/" \
119119
&& ln -sf python${PYTHON_VERSION} "${ROOTFS_PATH:?}/usr/bin/python3" \

0 commit comments

Comments
 (0)