mirror of
https://gitlab.com/depesz/explain.depesz.com.git
synced 2025-02-21 19:48:37 +02:00
Fix docker dependency
Dockerfile seems to be missing dependency Pg::SQL::PrettyPrinter. Adding it to the install seems to make it work as expected.
This commit is contained in:
parent
8cb75daed5
commit
1189599182
@ -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…
x
Reference in New Issue
Block a user