Skip to content
This repository has been archived by the owner on Jul 17, 2020. It is now read-only.

Commit

Permalink
Clean apt
Browse files Browse the repository at this point in the history
  • Loading branch information
David Kale committed Sep 12, 2018
1 parent 6ea9d5d commit f1a2b55
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ubuntu/14.04/standard/Dockerfile
Expand Up @@ -565,3 +565,8 @@ RUN original_directory=$PWD \

# Add the latest Ruby version in the tool cache to the path
ENV PATH $PATH:/opt/hostedtoolcache/Ruby/2.5.1/x64/bin

# Clean system
RUN apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf /etc/apt/sources.list.d/*
5 changes: 5 additions & 0 deletions ubuntu/16.04/standard/Dockerfile
Expand Up @@ -565,3 +565,8 @@ RUN original_directory=$PWD \

# Add the latest Ruby version in the tool cache to the path
ENV PATH $PATH:/opt/hostedtoolcache/Ruby/2.5.1/x64/bin

# Clean system
RUN apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf /etc/apt/sources.list.d/*
5 changes: 5 additions & 0 deletions ubuntu/standard/Dockerfile.template
Expand Up @@ -565,3 +565,8 @@ RUN original_directory=$PWD \

# Add the latest Ruby version in the tool cache to the path
ENV PATH $PATH:/opt/hostedtoolcache/Ruby/2.5.1/x64/bin

# Clean system
RUN apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf /etc/apt/sources.list.d/*

0 comments on commit f1a2b55

Please sign in to comment.