-
Notifications
You must be signed in to change notification settings - Fork 0
Home
afiram edited this page Nov 6, 2016
·
7 revisions
Welcome to the dockerfiles wiki!
- https://hub.docker.com/r/library/python/tags/
- https://imagelayers.io/?images=python:3.2
- https://blog.replicated.com/2016/02/05/refactoring-a-dockerfile-for-image-size/
- http://jasonwilder.com/blog/2014/08/19/squashing-docker-images/
# alpine build
RUN apk add --no-cache --virtual .build-deps \
# add pkg \
&& apk del .build-deps \
&& rm -rf /var/cache/apk/*
# apt
RUN apt-get install -y curl
# add pkg
RUN apt-get remove -y curl
RUN rm -rf /var/lib/apt/lists/*