diff --git a/Dockerfile b/Dockerfile index 2c3322e..78089c5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,11 @@ # This image builds Yocto jobs using the kas tool -FROM debian:buster-slim +FROM debian:bullseye-slim ARG TARGETPLATFORM ARG DEBIAN_FRONTEND=noninteractive -RUN echo 'deb http://deb.debian.org/debian buster-backports main' > /etc/apt/sources.list.d/buster-backports.list && \ - apt-get update && \ +RUN apt-get update && \ apt-get install -y locales && \ localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 ENV LANG=en_US.utf8 @@ -19,7 +18,7 @@ RUN apt-get install --no-install-recommends -y \ python3-setuptools python3-wheel python3-yaml python3-distro python3-jsonschema python3-newt \ gosu lsb-release file vim less procps tree tar bzip2 zstd bc tmux libncurses-dev \ dosfstools mtools parted lz4 \ - git-lfs/buster-backports mercurial iproute2 ssh-client curl rsync gnupg awscli sudo && \ + git-lfs mercurial iproute2 ssh-client curl rsync gnupg awscli sudo && \ if [ "$TARGETPLATFORM" = "linux/amd64" ]; then \ apt-get install --no-install-recommends -y gcc-multilib g++-multilib syslinux; \ fi && \ diff --git a/Dockerfile.isar b/Dockerfile.isar index 95fb81c..4f27155 100644 --- a/Dockerfile.isar +++ b/Dockerfile.isar @@ -7,14 +7,12 @@ FROM ghcr.io/siemens/kas/kas:$KAS_TAG ARG DEBIAN_FRONTEND=noninteractive ENV LC_ALL=en_US.UTF-8 -RUN echo 'deb http://deb.debian.org/debian bullseye main' > /etc/apt/sources.list.d/bullseye.list && \ - echo "Package: skopeo golang-github-containers-common golang-github-containers-image\nPin: release n=bullseye\nPin-Priority: 501\n\nPackage: *\nPin: release n=bullseye\nPin-Priority: -1" > /etc/apt/preferences.d/skopeo && \ - apt-get update && \ +RUN apt-get update && \ apt-get install -y -f --no-install-recommends \ autoconf automake gdisk libtool bash-completion \ reprepro python3 binfmt-support e2fsprogs \ umoci skopeo \ - multistrap qemu-user-static/buster-backports debootstrap quilt && \ + multistrap qemu-user-static debootstrap quilt && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*