Skip to content

Commit

Permalink
[docker-base] Debug packages: fix to Dockerfile.j2.
Browse files Browse the repository at this point in the history
  • Loading branch information
antonpatenko committed Feb 20, 2017
1 parent dad4318 commit 2f7460b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion dockers/docker-base/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,8 @@ RUN apt-get -y install \
{%- endfor %}
{% endif %}

RUN rm -rf /tmp/*
## Clean up apt
## Remove /var/lib/apt/lists/*, could be obsoleted for derived images
RUN apt-get clean -y; apt-get autoclean -y; apt-get autoremove -y; \
rm -rf /var/lib/apt/lists/*; \
rm -rf /tmp/*;

0 comments on commit 2f7460b

Please sign in to comment.