1
0
mirror of https://gitlab.com/depesz/explain.depesz.com.git synced 2025-07-15 01:34:18 +02:00

Update to newer OS and Pg.

This is in response for report from Daniel Sauvé
https://gitlab.com/depesz/explain.depesz.com/-/issues/30

While their report didn't report issues with Pg, it's really time to
move off pg11.
This commit is contained in:
Hubert depesz Lubaczewski
2025-03-06 12:52:33 +01:00
parent 55328011c0
commit 0cc85bc6b4
2 changed files with 8 additions and 9 deletions

View File

@ -1,4 +1,4 @@
FROM debian:buster
FROM debian:bookworm
WORKDIR /explain
@ -19,11 +19,10 @@ RUN apt-get update && \
libnumber-bytes-human-perl \
pgformatter \
curl \
build-essential
build-essential \
cpanminus
RUN curl -L cpanmin.us | perl - -n Mojolicious
RUN cpan install Pg::Explain
RUN cpanm Pg::Explain
WORKDIR /tmp
RUN curl https://gitlab.com/depesz/pg-sql-prettyprinter/-/archive/main/pg-sql-prettyprinter-main.tar.bz2 -o pg-sql-prettyprinter-main.tar.bz2 && \

View File

@ -17,7 +17,7 @@ services:
- ../ext:/explain/ext
- ../templates:/explain/templates
db:
image: "postgres:11.4"
image: "postgres:17-bookworm"
environment:
POSTGRES_USER: depesz_explain
POSTGRES_PASSWORD: depesz_explain