Skip to content

Commit 322efcb

Browse files
koki-developclaude
andcommitted
Upgrade repo Dockerfile to Debian Bookworm
Same Debian Buster EOL fix as the API Dockerfile. Also adds packages:write permission to the repo-push workflow. Changes: - debian:buster-slim -> debian:bookworm-slim - Fix ENV syntax (legacy -> key=value format) - libncurses5-dev/libncursesw5-dev -> libncurses-dev - Remove python2 (not available in Bookworm) - python3.7 -> python3.11 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 9b3d3d8 commit 322efcb

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/repo-push.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ on:
1111
jobs:
1212
push_to_registry:
1313
runs-on: ubuntu-latest
14+
permissions:
15+
contents: read
16+
packages: write
1417
name: Build and Push Docker image to Github Packages
1518
steps:
1619
- name: Check out repo

repo/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
FROM debian:buster-slim
2-
ENV DEBIAN_FRONTEND noninteractive
1+
FROM debian:bookworm-slim
2+
ENV DEBIAN_FRONTEND=noninteractive
33
RUN apt-get update && apt-get install -y unzip autoconf build-essential libssl-dev \
44
pkg-config zlib1g-dev libargon2-dev libsodium-dev libcurl4-openssl-dev \
55
sqlite3 libsqlite3-dev libonig-dev libxml2 libxml2-dev bc curl git \
66
linux-headers-amd64 perl xz-utils python3 python3-pip gnupg jq zlib1g-dev \
77
cmake cmake-doc extra-cmake-modules build-essential gcc binutils bash coreutils \
8-
util-linux pciutils usbutils coreutils binutils findutils grep libncurses5-dev \
9-
libncursesw5-dev python3-pip libgmp-dev libmpfr-dev python2 libffi-dev gfortran\
8+
util-linux pciutils usbutils coreutils binutils findutils grep libncurses-dev \
9+
python3-pip libgmp-dev libmpfr-dev libffi-dev gfortran \
1010
libreadline-dev libblas-dev liblapack-dev libpcre3-dev libarpack2-dev libfftw3-dev \
1111
libglpk-dev libqhull-dev libqrupdate-dev libsuitesparse-dev libsundials-dev \
1212
libbz2-dev liblzma-dev libpcre2-dev gperf bison flex g++ gawk zip && \
1313
ln -sf /bin/bash /bin/sh && \
1414
rm -rf /var/lib/apt/lists/* && \
15-
update-alternatives --install /usr/bin/python python /usr/bin/python3.7 2
15+
update-alternatives --install /usr/bin/python python /usr/bin/python3.11 2
1616

1717
ADD entrypoint.sh mkindex.sh serve.py /
1818

0 commit comments

Comments
 (0)