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:
parent
2e9126474d
commit
fa1d5ff58e
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user