Laszlo Gaal has uploaded this change for review. ( http://gerrit.cloudera.org:8080/21091
Change subject: Fix toolchain container builds for SLES 12, SLES 15 and Centos 7 ...................................................................... Fix toolchain container builds for SLES 12, SLES 15 and Centos 7 Fix several problems around toolchain container builds concerning deprecations and version obsolescence. SLES 12 SP3 went out of support; supportmatrix.cloudera.com doesn't even list it. The only version visible is SLES 12 SP5. Upgrade the SLES12 base container to SLES 12 SP5 because of this. Fix libncurses-devel installation for SLES 12 and 15: allow zypper to downgrade the version for libncurses so that a version matching can be installed. libncurses-devel. The newest version available for libncurses seems to be slightly ahead of libncurses-devel, which confuses the installer. Permitting the downgrade allows the installation to succeed. The CentOS 7 base container contains an old version of the ca-certificates package, which does not yet contain the current root CA certificate used by the Apache Archives repo, preventing Maven from being downloaded. As the OS package repo is pinned to the (old) version of the base Docker image, pull Maven from our own toolchain bucket on S3, for which the root CA certificate is known by this OS version. Package identity is still assured by verifying the SHA256 signature of the downloaded tarball. Verified by a full multi-arch container build pass using the newly fixed master-03 container build job: https://master-03.jenkins.cloudera.com/job/impala-toolchain-container-build/39/ Change-Id: I3e730abb6667bf00735ea62c35377591b68452ce --- M docker/all/postinstall.sh M docker/sles12.df M docker/sles15.df 3 files changed, 8 insertions(+), 8 deletions(-) git pull ssh://gerrit.cloudera.org:29418/native-toolchain refs/changes/91/21091/1 -- To view, visit http://gerrit.cloudera.org:8080/21091 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: native-toolchain Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I3e730abb6667bf00735ea62c35377591b68452ce Gerrit-Change-Number: 21091 Gerrit-PatchSet: 1 Gerrit-Owner: Laszlo Gaal <[email protected]>
