Created
February 12, 2016 11:01
-
-
Save SlyDen/0dfdb5ccff825d4090aa to your computer and use it in GitHub Desktop.
clean up after apt-get-install to reduce image's size
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RUN apt-get update && \ | |
apt-get install -y --no-install-recommends curl python-pip && \ | |
pip install requests && \ | |
apt-get remove -y python-pip curl && \ | |
rm -rf /var/lib/apt/lists/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment