You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by Benjamin Mahler <bm...@apache.org> on 2024/06/07 15:21:09 UTC
Re: Review Request 75035: [mesos-build] address dependency issues in centos-7 and ubuntu-20.04 dockerfiles
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/75035/#review226525
-----------------------------------------------------------
Ship it!
Ship It!
- Benjamin Mahler
On June 6, 2024, 11:08 p.m., Jason Zhou wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/75035/
> -----------------------------------------------------------
>
> (Updated June 6, 2024, 11:08 p.m.)
>
>
> Review request for mesos and Benjamin Mahler.
>
>
> Repository: mesos
>
>
> Description
> -------
>
> In CentOS 7, the linux/amd64 base image is missing ebpf fields such as BPF_PROG_TYPE_CGROUP_DEVICE, which prevents jenkins from building mesos now that the ENABLE_CGROUPS_V2 macro has been removed as /usr/include/linux/bpf.h is missing the fields required by ebpf.h
> We installed dependencies from kernel-ml so that we can have newer headerfiles in /usr/include/linux, which should help us compile the mesos code in jenkins
>
> For ubuntu, there is a dependency on installing jdk-11 instead of the old jdk-8 which is preventing some builds which pull the ubuntu image to build
>
> As part of this change, both the CentOS 7 and ubuntu:20.04 will need to be rebuilt and uploaded to dockerhub for jenkins
>
>
> Diffs
> -----
>
> support/docker-build.sh f1893e0b3b71d8ce385ada8d40afa40ee75eb828
> support/mesos-build/centos-7.dockerfile c75c5b61de0f76b4e02a083ae9b6b8d88e1e6612
> support/mesos-build/ubuntu-20.04.dockerfile 280c93ae6277160a0896de6a5da335d21c23b27f
>
>
> Diff: https://reviews.apache.org/r/75035/diff/2/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Jason Zhou
>
>