You've already forked explain.depesz.com
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:
@ -1,4 +1,4 @@
|
||||
FROM debian:buster
|
||||
FROM debian:bookworm
|
||||
|
||||
WORKDIR /explain
|
||||
|
||||
@ -19,20 +19,19 @@ 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 && \
|
||||
tar xjvf pg-sql-prettyprinter-main.tar.bz2 && \
|
||||
cd pg-sql-prettyprinter-main && \
|
||||
perl Build.PL && \
|
||||
./Build && \
|
||||
./Build test && \
|
||||
./Build install
|
||||
./Build && \
|
||||
./Build test && \
|
||||
./Build install
|
||||
WORKDIR /explain
|
||||
|
||||
COPY docker/explain.json explain.pl ./
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user