Created
December 16, 2016 09:13
-
-
Save SlyDen/4d383110127f4cbefca7b893117b88ba to your computer and use it in GitHub Desktop.
clean up apt cache in Dockerfile https://semaphoreci.com/blog/2016/12/13/lightweight-docker-images-in-5-steps.html
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
FROM ubuntu:14.04 | |
RUN apt-get update -y && \ | |
apt-get install -y curl postgresql postgresql-client && \ | |
rm -rf /var/lib/apt/lists/* | |
CMD bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment