keep debian based images smaller
This commit is contained in:
		| @@ -1,10 +1,11 @@ | ||||
| FROM debian:8 | ||||
|  | ||||
| RUN apt-get update \ | ||||
|     && apt-get install -y software-properties-common \ | ||||
|     && apt-get install -y  --no-install-recommends \ | ||||
|       software-properties-common \ | ||||
|     && apt-add-repository ppa:ansible/ansible \ | ||||
|     && apt-get update \ | ||||
|     && apt-get install -y \ | ||||
|     && apt-get install -y --no-install-recommends \ | ||||
|       ansible \ | ||||
|     && apt-get autoclean | ||||
|  | ||||
|   | ||||
| @@ -1,10 +1,11 @@ | ||||
| FROM ubuntu:16.04 | ||||
|  | ||||
| RUN apt-get update \ | ||||
|     && apt-get install -y software-properties-common \ | ||||
|     && apt-get install -y --no-install-recommends \ | ||||
|       software-properties-common \ | ||||
|     && apt-add-repository ppa:ansible/ansible \ | ||||
|     && apt-get update \ | ||||
|     && apt-get install -y \ | ||||
|     && apt-get install -y --no-install-recommends \ | ||||
|       ansible \ | ||||
|     && apt-get autoclean | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user