Browse Source

refactor: merge some layers

Fabian Peter Hammerle 4 years ago
parent
commit
fb887db302
1 changed files with 7 additions and 10 deletions
  1. 7 10
      Dockerfile

+ 7 - 10
Dockerfile

@@ -39,25 +39,22 @@ RUN apk add --no-cache \
         $PERL_MAIL_GNUPG_BUILD_PKGS \
         perl-capture-tiny \
         perl-class-tiny \
+        perl-list-moreutils \
         perl-mailtools \
+        perl-mime-tools \
         perl-moo \
         perl-moox-types-mooselike \
         perl-role-tiny \
+        perl-scalar-list-utils \
         perl-strictures \
         perl-sub-quote \
-        perl-test-requires \
-        perl-try-tiny \
-        perl-type-tiny \
-    && echo TODO merge
-RUN apk add --no-cache perl-mime-tools
-RUN apk add --no-cache perl-list-moreutils
-RUN apk add --no-cache \
-        perl-scalar-list-utils \
         perl-sub-uplevel \
         perl-test-exception \
         perl-test-fatal \
-        perl-test-output
-RUN apk add --no-cache perl-scalar-list-utils
+        perl-test-output \
+        perl-test-requires \
+        perl-try-tiny \
+        perl-type-tiny
 RUN echo TODO merge \
     && (cpanm --notest Mail::GnuPG@$PERL_MAIL_GNUPG_VERSION \
         || (cat /root/.cpanm/work/*/build.log; exit 1)) \