Dev build 2026-06-01 21:28
This commit is contained in:
parent
40c8525691
commit
53a1e30475
@ -2,12 +2,22 @@ FROM python:3.12-slim
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
# unrar comes from Debian bookworm non-free; postgresql-client is pinned to v16
|
||||||
|
# (matching the postgres:16 server) via the official PostgreSQL APT repo, so
|
||||||
|
# pg_dump produces PG16-native dumps that restore cleanly into the server.
|
||||||
RUN echo "deb http://deb.debian.org/debian bookworm non-free" >> /etc/apt/sources.list \
|
RUN echo "deb http://deb.debian.org/debian bookworm non-free" >> /etc/apt/sources.list \
|
||||||
&& apt-get update && apt-get install -y --no-install-recommends \
|
&& apt-get update && apt-get install -y --no-install-recommends \
|
||||||
build-essential \
|
curl ca-certificates gnupg \
|
||||||
libmagic1 \
|
&& install -d /usr/share/postgresql-common/pgdg \
|
||||||
unrar \
|
&& curl -fsSL https://www.postgresql.org/media/keys/ACCC4CF8.asc \
|
||||||
postgresql-client \
|
-o /usr/share/postgresql-common/pgdg/apt.postgresql.org.asc \
|
||||||
|
&& echo "deb [signed-by=/usr/share/postgresql-common/pgdg/apt.postgresql.org.asc] http://apt.postgresql.org/pub/repos/apt trixie-pgdg main" \
|
||||||
|
> /etc/apt/sources.list.d/pgdg.list \
|
||||||
|
&& apt-get update && apt-get install -y --no-install-recommends \
|
||||||
|
build-essential \
|
||||||
|
libmagic1 \
|
||||||
|
unrar \
|
||||||
|
postgresql-client-16 \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
COPY requirements.txt /app/requirements.txt
|
COPY requirements.txt /app/requirements.txt
|
||||||
|
|||||||
@ -10,7 +10,7 @@ from __future__ import annotations
|
|||||||
|
|
||||||
from changelog import CHANGELOG
|
from changelog import CHANGELOG
|
||||||
|
|
||||||
BUILD = 2
|
BUILD = 3
|
||||||
|
|
||||||
|
|
||||||
def _release_version() -> str:
|
def _release_version() -> str:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user