From 8e10c835df69aac2eba082fdb9f2c28d3a1d0536 Mon Sep 17 00:00:00 2001 From: Lars Kerick Date: Fri, 3 May 2019 12:00:36 +0200 Subject: [PATCH] concatinated multiple commands to reduces layers and image size --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2350a97..0670444 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ FROM phusion/baseimage:master MAINTAINER r0gger -RUN apt-get update -RUN apt-get install -y wget cabextract hashdeep xmlstarlet trash-cli unzip iputils-ping genisoimage aria2 -RUN apt-get clean -y -RUN rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* +RUN apt-get update && \ + apt-get install -y wget cabextract hashdeep xmlstarlet trash-cli unzip iputils-ping genisoimage aria2 rsync && \ + apt-get clean -y && \ + rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* ENV SYSTEMS="all" ENV OFFICE=""