Dockerfile: Tell apt to remove left-over config
Inspection of the resulting image shows that python3 is not fully removed, this takes care of that.
This commit is contained in:
parent
4b923555b3
commit
212de80da1
|
@ -28,7 +28,7 @@ RUN apt-get update \
|
||||||
libcap2-bin build-essential\
|
libcap2-bin build-essential\
|
||||||
&& c_rehash \
|
&& c_rehash \
|
||||||
&& ansible-playbook -c local -i localhost, --extra-vars "ansible_python_interpreter=/usr/bin/python2" /opt/ansible/snikket.yml \
|
&& ansible-playbook -c local -i localhost, --extra-vars "ansible_python_interpreter=/usr/bin/python2" /opt/ansible/snikket.yml \
|
||||||
&& apt-get remove -y \
|
&& apt-get remove --purge -y \
|
||||||
ansible \
|
ansible \
|
||||||
software-properties-common \
|
software-properties-common \
|
||||||
gpg gpg-agent \
|
gpg gpg-agent \
|
||||||
|
|
Loading…
Reference in New Issue