Skip to content

Commit

Permalink
Docker base image includes perl and keeps apt list to improve layer s…
Browse files Browse the repository at this point in the history
…haring
  • Loading branch information
qiluo-msft committed Jun 4, 2016
1 parent 5ee19b9 commit 337a241
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ RUN apt-get clean && apt-get update
RUN apt-get -y install \
rsyslog \
vim-tiny \
perl \
python

COPY rsyslog.conf /etc/rsyslog.conf
Expand All @@ -34,4 +35,6 @@ RUN apt-get -y purge \

## Clean up
RUN apt-get clean -y; apt-get autoclean -y; apt-get autoremove -y
RUN rm -rf /var/lib/apt/lists/* /tmp/*
## Note: NO removing /var/lib/apt/lists/*, shared by all derived images
## TODO: if it is possible to squash derived images, remove it here
RUN rm -rf /tmp/*

0 comments on commit 337a241

Please sign in to comment.