summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-05-03 21:53:48 +0200
committerDaniel Friesel <derf@finalrewind.org>2020-05-03 21:53:48 +0200
commit3b71ad45c6dff8593256ff26e433c062c8dc920b (patch)
treec93289fb5e600154c783d9f4ae113403a0c43ed3
parentb4e7c3833ff4abf89848a46eb50165292134397d (diff)
Dockerfile: Shorten apt install/purge lines
-rw-r--r--Dockerfile26
1 files changed, 23 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index 00e4ddd..ce124de 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -10,14 +10,34 @@ WORKDIR /app
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
- && apt-get -y --no-install-recommends install ca-certificates curl gcc libc6-dev libdb5.3 libdb5.3-dev libssl1.1 libssl-dev libxml2 libxml2-dev make zlib1g-dev \
+ && apt-get -y --no-install-recommends install \
+ ca-certificates \
+ curl \
+ gcc \
+ libc6-dev \
+ libdb5.3 \
+ libdb5.3-dev \
+ libssl1.1 \
+ libssl-dev \
+ libxml2 \
+ libxml2-dev \
+ make \
+ zlib1g-dev \
&& cpanm -n --no-man-pages --installdeps . \
&& perl Build.PL \
&& perl Build \
&& rm -rf ~/.cpanm \
- && apt-get -y purge curl gcc libc6-dev libdb5.3-dev libssl-dev libxml2-dev make zlib1g-dev \
+ && apt-get -y purge \
+ curl \
+ gcc \
+ libc6-dev \
+ libdb5.3-dev \
+ libssl-dev \
+ libxml2-dev \
+ make \
+ zlib1g-dev \
&& apt-get -y autoremove \
&& apt-get -y clean \
- && rm -rf /var/cache/apt/* /var/lib/apt/lists/*
+ && rm -rf /var/cache/apt/* /var/lib/apt/lists/*
ENTRYPOINT ["perl", "-Ilocal/lib/perl5", "-Ilib", "bin/db-iris"]