From ccc22ed761d97f8e0fd67948f430aabb70756ea9 Mon Sep 17 00:00:00 2001 From: Zach Hill Date: Thu, 22 Apr 2021 17:08:56 -0700 Subject: [PATCH] Remove old python version selector in docker entrypoint, no longer needed Signed-off-by: Zach Hill --- docker-entrypoint.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index d9d1ead32b..ee05944749 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -5,10 +5,6 @@ if [[ "${SET_HOSTID_TO_HOSTNAME}" == "true" ]]; then export ANCHORE_HOST_ID=${HOSTNAME} fi -if [[ -f "/opt/rh/rh-python36/enable" ]]; then - source /opt/rh/rh-python36/enable -fi - # check if /home/anchore/certs/ exists & has files in it if [[ -d "/home/anchore/certs" ]] && [[ ! -z "$(ls -A /home/anchore/certs)" ]]; then mkdir -p /home/anchore/certs_override/python