use focal oxframe builds for bullseye

This commit is contained in:
j 2023-06-07 22:26:52 +02:00
commit 42bfbb0808
3 changed files with 14 additions and 3 deletions

View file

@ -1,4 +1,4 @@
FROM debian:buster
FROM debian:bullseye
LABEL maintainer="0x2620@0x2620.org"

View file

@ -1,9 +1,14 @@
#!/bin/bash
UBUNTU_CODENAME=bionic
if [ -e /etc/os-release ]; then
. /etc/os-release
fi
if [ -z "$UBUNTU_CODENAME" ]; then
UBUNTU_CODENAME=bionic
fi
if [ "$VERSION_CODENAME" = "bullseye" ]; then
UBUNTU_CODENAME=focal
fi
export DEBIAN_FRONTEND=noninteractive
echo 'Acquire::Languages "none";' > /etc/apt/apt.conf.d/99languages