Merge "Remove dev(el) package from container image"

This commit is contained in:
Zuul 2024-02-10 14:43:22 +00:00 committed by Gerrit Code Review
commit 25c8337393
1 changed files with 2 additions and 3 deletions

View File

@ -166,15 +166,14 @@ function prepare_storlets_install {
if is_ubuntu; then
install_package openjdk-${STORLETS_JDK_VERSION}-jdk-headless ant
install_package python3 python3-dev
else
die $LINENO "Unsupported distro"
fi
install_python3
}
function _generate_jre_dockerfile {
PYTHON_PACKAGES="python3 python3-dev python${PYTHON3_VERSION} python${PYTHON3_VERSION}-dev"
PYTHON_PACKAGES="python3 python${PYTHON3_VERSION}"
cat <<EOF > ${TMP_REGISTRY_PREFIX}/repositories/${STORLETS_DOCKER_BASE_IMG_NAME}_jre${STORLETS_JDK_VERSION}/Dockerfile
FROM $STORLETS_DOCKER_BASE_IMG