Remove dev(el) package from container image
... because it's required only during builds. Change-Id: Icb8ce4dc11e3c47bb57282e004ce7a37ceb5b80b
This commit is contained in:
parent
1315cf9c36
commit
464310c62b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user