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

reorder commands because curl is not included with base image

This commit is contained in:
Richard Yen 2021-03-24 10:42:35 -07:00
parent 2e9126474d
commit fa1d5ff58e

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/