ENT-13867: Added RHEL 8,9,10 support to build in container#2338
ENT-13867: Added RHEL 8,9,10 support to build in container#2338aleksandrychev wants to merge 1 commit into
Conversation
Ticket: ENT-13867 Signed-off-by: Ihor Aleksandrychiev <ihor.aleksandrychiev@northern.tech>
| @@ -0,0 +1,64 @@ | |||
| ARG BASE_IMAGE=rockylinux/rockylinux:9 | |||
| FROM ${BASE_IMAGE} | |||
There was a problem hiding this comment.
I don't think we should duplicate in a different way what we do in the build host setup. I would be fine with choosing either policy or scripts but not both.
There was a problem hiding this comment.
@craigcomstock I took https://github.com/cfengine/buildscripts/blob/master/container/Dockerfile.debian as reference, you mean install cfengine to install dependencies? If yes I'd like to have scripts rather than policies in this case to avoid chicken\egg problem when new platforms added.
| @@ -0,0 +1,64 @@ | |||
| ARG BASE_IMAGE=rockylinux/rockylinux:9 | |||
There was a problem hiding this comment.
ideally we will use these to build our packages so it seems we should use ubi/rhel images and not rocky.
There was a problem hiding this comment.
I looked into UBI, but its repos only contain a free redistributable subset of RHEL, and some packages we need to build (bison, flex, pam-devel, selinux-policy-devel) aren't included, see the public repo listing, e.g. no bison in the appstream: https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/x86_64/appstream/os/Packages/b/ . Getting them on UBI requires RHEL entitlement certs inside the image build.
Ticket: ENT-13867