concatinated multiple commands to reduces layers and image size

This commit is contained in:
Lars Kerick authored and GitHub committed 2019-05-03 12:00:36 +02:00
1 parent ec8f98fa4a
commit 8e10c835df
1 file changed
+4 -4
+4 -4
View File
@@ -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=""