17 lines
656 B
Docker
17 lines
656 B
Docker
FROM docker.io/gitlab/gitlab-runner:v14.5.2
|
|
|
|
RUN true \
|
|
&& apt-get update \
|
|
&& apt-get upgrade -y \
|
|
&& apt-get clean && apt-get purge && rm -r /var/lib/apt/lists/* \
|
|
&& true
|
|
|
|
RUN true \
|
|
&& apt-get update \
|
|
&& apt-get install -y gpg \
|
|
&& echo "deb http://ppa.launchpad.net/ansible/ansible/ubuntu trusty main" > /etc/apt/sources.list.d/ansible.repo \
|
|
&& 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 clean && apt-get purge && rm -r /var/lib/apt/lists/* \
|
|
&& true
|