From a8afd58d5be85518f3a27be8056d647c6aa7a274 Mon Sep 17 00:00:00 2001 From: Nguyen Thanh Quang Date: Tue, 28 Nov 2023 22:02:53 +0700 Subject: [PATCH] :rocket: use `debian:bookworm` as base and add `bullseye` to `sources.list` --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2516a5f..da993ee 100755 --- a/Dockerfile +++ b/Dockerfile @@ -3,10 +3,11 @@ # tier 2: more runtimes such as kotlin, java, csharp, etc.. # tier 3: rarely used languages like brainfuck, whitespace, moo, ... -FROM --platform=${BUILDPLATFORM} debian:bullseye AS tier-1 +FROM --platform=${BUILDPLATFORM} debian:bookworm AS tier-1 ARG DEBIAN_FRONTEND=noninteractive -RUN echo 'deb http://deb.debian.org/debian bookworm-backports main' >> /etc/apt/sources.list +RUN echo 'deb http://deb.debian.org/debian bookworm-backports main\n' >> /etc/apt/sources.list +RUN echo 'deb http://deb.debian.org/debian bullseye main' >> /etc/apt/sources.list RUN apt update && apt install -y gcc-13 python3.11 python2.7 clang-15 fpc pypy3 && rm -rf /var/lib/apt/lists/* FROM --platform=${BUILDPLATFORM} tier-1 AS tier-2