From 47d72ff673c26f285b310d54c75cf992a9230456 Mon Sep 17 00:00:00 2001 From: Tobiasz Laskowski Date: Wed, 3 Jul 2024 09:35:30 +0100 Subject: [PATCH] [ci] Build on ubuntu bionic instead of xenial Xenial went EoL in 2021, and we cannot build new mbedtls versions on it. --- Earthfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Earthfile b/Earthfile index 0cb79420..10f3b1c0 100644 --- a/Earthfile +++ b/Earthfile @@ -138,7 +138,7 @@ devcontainer-update-ref: build-env: # We specifically use an old distro to build against an old glibc. # https://repology.org/project/glibc/versions - FROM ubuntu:xenial + FROM ubuntu:bionic RUN apt-get update \ && apt-get install -qqy --no-install-recommends \ software-properties-common \ @@ -216,7 +216,7 @@ extract-package: SAVE ARTIFACT /tmp/neko neko test-static-package: - ARG IMAGE=ubuntu:xenial + ARG IMAGE=ubuntu:bionic FROM $IMAGE WORKDIR /tmp/neko COPY +extract-package/neko . @@ -234,5 +234,5 @@ test-static-package: RUN nekotools test-static-package-all-platforms: - ARG IMAGE=ubuntu:xenial + ARG IMAGE=ubuntu:bionic BUILD --platform=linux/amd64 --platform=linux/arm64 +test-static-package --IMAGE="$IMAGE"