Hello Joe McDonnell, Michael Smith,

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/21091

to look at the new patch set (#2).

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 (the previous base container version) went out of support;
https://endoflife.date/sles shows its long-term support ended with
06/20/2022. The only supported SLES 12 version is SP5, so upgrade the
SLES 12 base container to this version.

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/2
--
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: newpatchset
Gerrit-Change-Id: I3e730abb6667bf00735ea62c35377591b68452ce
Gerrit-Change-Number: 21091
Gerrit-PatchSet: 2
Gerrit-Owner: Laszlo Gaal <[email protected]>
Gerrit-Reviewer: Joe McDonnell <[email protected]>
Gerrit-Reviewer: Laszlo Gaal <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>

Reply via email to