From 66355fdbaed2875c42dcf14a857b957993c767a7 Mon Sep 17 00:00:00 2001 From: Sven Boemer Date: Tue, 7 May 2024 17:41:44 -0700 Subject: [PATCH] Y2038 support: Target Ubuntu 22.04 in arm build image (#1037) --- src/azurelinux/3.0/cross/arm-net9.0/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/azurelinux/3.0/cross/arm-net9.0/Dockerfile b/src/azurelinux/3.0/cross/arm-net9.0/Dockerfile index 2c668a83..18e950f4 100644 --- a/src/azurelinux/3.0/cross/arm-net9.0/Dockerfile +++ b/src/azurelinux/3.0/cross/arm-net9.0/Dockerfile @@ -1,7 +1,9 @@ FROM mcr.microsoft.com/dotnet-buildtools/prereqs:azurelinux-3.0-crossdeps-builder-net9.0-local AS builder ARG ROOTFS_DIR=/crossrootfs/arm -RUN /scripts/eng/common/cross/build-rootfs.sh arm xenial --skipunmount +# The arm rootfs targets Ubuntu 22.04, which is the first version with a +# glibc that supports 64-bit time_t. See https://github.com/dotnet/core/discussions/9285. +RUN /scripts/eng/common/cross/build-rootfs.sh arm jammy no-lldb --skipunmount # Build compiler-rt profile library for PGO instrumentation RUN mkdir compiler-rt_build && cd compiler-rt_build && \