diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-05-03 21:53:48 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-05-03 21:53:48 +0200 |
commit | 3b71ad45c6dff8593256ff26e433c062c8dc920b (patch) | |
tree | c93289fb5e600154c783d9f4ae113403a0c43ed3 /Dockerfile | |
parent | b4e7c3833ff4abf89848a46eb50165292134397d (diff) |
Dockerfile: Shorten apt install/purge lines
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 26 |
1 files changed, 23 insertions, 3 deletions
@@ -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"] |