diff --git a/Dockerfile b/Dockerfile index 0b0fd39..63a2fe5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,9 +9,8 @@ RUN true \ RUN true \ && apt-get update \ && apt-get install -y gpg \ - && echo "deb http://ppa.launchpad.net/ansible/ansible/ubuntu focal main" > /etc/apt/sources.list.d/ansible.repo \ + && add-apt-repository ppa:ansible/ansible \ && apt-get update \ - && apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367 \ - && apt-get install -y gpg ansible python3-requests python3-influxdb python3-netaddr \ + && apt-get install -y ansible python3-requests python3-influxdb python3-netaddr \ && apt-get clean && apt-get purge && rm -r /var/lib/apt/lists/* \ && true