Skip to content

Commit 842cfa4

Browse files
committed
fixup! release: build unsigned Ubuntu .deb package
We need to require a newer Ubuntu version because Git fails to build with Ubuntu 16.04. This is needed because Ubuntu 16.04 apparently has a horribly outdated curl version and Git must at all cost drop support for it: 4c1b7e3 (Merge branch 'bc/drop-ancient-libcurl-and-perl', 2024-12-04). I just wish that at times pragmatism would beat ideology, but it's not to be had in this instance. Unfortunately, it requires a bit more than just changing the Ubuntu version, as the newer version would now ask interactively for the timezone while setting up the `tzdata` package. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 627a6bf commit 842cfa4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/build-git-installers.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ jobs:
493493
create-linux-unsigned-artifacts:
494494
runs-on: ubuntu-latest
495495
container:
496-
image: ubuntu:16.04 # expanded security maintenance until 04/02/2026, according to https://endoflife.date/ubuntu
496+
image: ubuntu:20.04 # security support until 04/02/2025, according to https://endoflife.date/ubuntu
497497
volumes:
498498
# override /__e/node20 because GitHub Actions uses a version that requires too-recent glibc, see "Install dependencies" below
499499
- /tmp:/__e/node20
@@ -502,6 +502,11 @@ jobs:
502502
- name: Install dependencies
503503
run: |
504504
set -ex
505+
506+
# Prevent the dialog that asks interactively for the timezone
507+
export DEBIAN_FRONTEND=noninteractive
508+
export TZ=Etc/UTC
509+
505510
apt-get update -q
506511
apt-get install -y -q --no-install-recommends \
507512
build-essential \

0 commit comments

Comments
 (0)