1
0
mirror of https://gitlab.com/depesz/explain.depesz.com.git synced 2025-07-17 01:42:34 +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 WORKDIR /explain
@ -19,11 +19,10 @@ RUN apt-get update && \
libnumber-bytes-human-perl \ libnumber-bytes-human-perl \
pgformatter \ pgformatter \
curl \ curl \
build-essential build-essential \
cpanminus
RUN curl -L cpanmin.us | perl - -n Mojolicious RUN cpanm Pg::Explain
RUN cpan install Pg::Explain
WORKDIR /tmp 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 && \ 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 - ../ext:/explain/ext
- ../templates:/explain/templates - ../templates:/explain/templates
db: db:
image: "postgres:11.4" image: "postgres:17-bookworm"
environment: environment:
POSTGRES_USER: depesz_explain POSTGRES_USER: depesz_explain
POSTGRES_PASSWORD: depesz_explain POSTGRES_PASSWORD: depesz_explain