Merge branch 'master' into 'master'

reorder commands because curl is not included with base image

See merge request depesz/explain.depesz.com!18
This commit is contained in:
Hubert Lubaczewski
2021-03-24 18:34:44 +00:00
+5 -2
View File
@@ -2,7 +2,6 @@ FROM debian:stretch
WORKDIR /explain
RUN curl -L cpanmin.us | perl - -n Mojolicious
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install -y libmojolicious-perl \
@@ -16,7 +15,11 @@ RUN apt-get update && \
libjson-perl \
libclone-perl \
libtest-deep-perl \
libtest-exception-perl
libtest-exception-perl \
curl \
build-essential
RUN curl -L cpanmin.us | perl - -n Mojolicious
RUN cpan install Pg::Explain
COPY lib/ ./lib/