Skip to content

Commit

Permalink
🚀 use debian:bookworm as base and add bullseye to sources.list
Browse files Browse the repository at this point in the history
  • Loading branch information
AlphaNecron committed Nov 28, 2023
1 parent 3caa12a commit a8afd58
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a8afd58

Please sign in to comment.