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:
Kim Alvefur 2021-07-30 20:39:41 +02:00
parent 4b923555b3
commit 212de80da1
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ RUN apt-get update \
libcap2-bin build-essential\
&& c_rehash \
&& 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 \
software-properties-common \
gpg gpg-agent \