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:
commit
c7284a61f7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user