keep debian based images smaller
This commit is contained in:
parent
51e205f2ce
commit
31ec2cedb9
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user