Skip to content

Commit f42b65f

Browse files
committed
try to fix build
1 parent 9f21705 commit f42b65f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

linux/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ RUN apt-get update \
2828

2929
# Ansible
3030
RUN apt-get update \
31-
&& apt-get install -y software-properties-common \
32-
&& apt-add-repository "deb http://ppa.launchpad.net/ansible/ansible/ubuntu xenial main" \
33-
&& apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367 \
31+
&& apt-get install -y software-properties-common wget gpg \
32+
&& wget -O- "https://keyserver.ubuntu.com/pks/lookup?fingerprint=on&op=get&search=0x6125E2A8C77F2818FB7BD15B93C4A3FD7BB9C367" | gpg --dearmour -o /usr/share/keyrings/ansible-archive-keyring.gpg \
33+
&& echo "deb [signed-by=/usr/share/keyrings/ansible-archive-keyring.gpg] http://ppa.launchpad.net/ansible/ansible/ubuntu jammy main" | tee /etc/apt/sources.list.d/ansible.list \
3434
&& apt-get update \
3535
&& apt-get install -y --allow-unauthenticated ansible
3636

0 commit comments

Comments
 (0)