Skip to content

Commit

Permalink
Dockerfile: Clean-up after apt operations
Browse files Browse the repository at this point in the history
* Delete old files to keep the image lean.
  • Loading branch information
kylemanna committed Dec 5, 2014
1 parent 17ef8ce commit 19f4c5c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ FROM debian:jessie

MAINTAINER Kyle Manna <[email protected]>

RUN apt-get update && apt-get install -y openvpn iptables git-core
RUN apt-get update && \
apt-get install -y openvpn iptables git-core && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

# Update checkout to use tags when v3.0 is finally released
RUN git clone https://github.com/OpenVPN/easy-rsa.git /usr/local/share/easy-rsa
Expand Down

0 comments on commit 19f4c5c

Please sign in to comment.