1
0
mirror of https://gitlab.com/depesz/explain.depesz.com.git synced 2024-11-28 08:58:52 +02:00

Merge branch 'master' into 'master'

Fix docker dependency to Pg::SQL::PrettyPrinter

See merge request depesz/explain.depesz.com!23
This commit is contained in:
Hubert Lubaczewski 2022-09-15 06:59:02 +00:00
commit c7284a61f7

View File

@ -24,6 +24,17 @@ RUN apt-get update && \
RUN curl -L cpanmin.us | perl - -n Mojolicious
RUN cpan install 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
WORKDIR /explain
COPY docker/explain.json explain.pl ./
ENTRYPOINT /explain/explain.pl daemon