This is an automated email from the ASF dual-hosted git repository.

bmahler pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git


The following commit(s) were added to refs/heads/master by this push:
     new 232980fb4 [mesos-build] Move mesos-build to from ubuntu 16.04 to 20.04
232980fb4 is described below

commit 232980fb48bbf322c01ba2c3ac41e4cd7205cfd3
Author: Jason Zhou <[email protected]>
AuthorDate: Mon Jun 3 17:50:36 2024 -0400

    [mesos-build] Move mesos-build to from ubuntu 16.04 to 20.04
    
    Ubuntu 16.04 docker builds were having issues with the jenkins
    pipeline as it was missing certain fields in /usr/include/linux/bpf.h
    that are present in more modern linux kernels' which were used inside
    the ebpf code.
    
    We will try to address this along with Ubuntu's EOL issue by upgrading
    to ubuntu 20.04
    
    Review: https://reviews.apache.org/r/75023/
---
 .../{ubuntu-16.04-arm.dockerfile => ubuntu-20.04-arm.dockerfile}  | 8 +++++---
 .../{ubuntu-16.04.dockerfile => ubuntu-20.04.dockerfile}          | 4 +++-
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/support/mesos-build/ubuntu-16.04-arm.dockerfile 
b/support/mesos-build/ubuntu-20.04-arm.dockerfile
similarity index 95%
rename from support/mesos-build/ubuntu-16.04-arm.dockerfile
rename to support/mesos-build/ubuntu-20.04-arm.dockerfile
index 332009ff2..50f15039f 100644
--- a/support/mesos-build/ubuntu-16.04-arm.dockerfile
+++ b/support/mesos-build/ubuntu-20.04-arm.dockerfile
@@ -14,7 +14,9 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-FROM arm64v8/ubuntu:16.04
+FROM arm64v8/ubuntu:20.04
+
+ARG DEBIAN_FRONTEND=noninteractive
 
 # Install dependencies.
 RUN apt-get update && \
@@ -28,6 +30,7 @@ RUN apt-get update && \
       libcurl4-nss-dev \
       libev-dev \
       libevent-dev \
+      libncurses5 \
       libsasl2-dev \
       libssl-dev \
       libsvn-dev \
@@ -38,8 +41,7 @@ RUN apt-get update && \
       python-six \
       sed \
       zlib1g-dev \
-      software-properties-common \
-      python-software-properties && \
+      software-properties-common && \
     apt-get clean && \
     rm -rf /var/lib/apt/lists
 
diff --git a/support/mesos-build/ubuntu-16.04.dockerfile 
b/support/mesos-build/ubuntu-20.04.dockerfile
similarity index 97%
rename from support/mesos-build/ubuntu-16.04.dockerfile
rename to support/mesos-build/ubuntu-20.04.dockerfile
index 70b269b79..280c93ae6 100644
--- a/support/mesos-build/ubuntu-16.04.dockerfile
+++ b/support/mesos-build/ubuntu-20.04.dockerfile
@@ -14,7 +14,9 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-FROM ubuntu:16.04
+FROM ubuntu:20.04
+
+ARG DEBIAN_FRONTEND=noninteractive
 
 # Install dependencies.
 RUN apt-get update && \

Reply via email to