saibotk
adbbc841e0
The previously configured repository was not used, might be due to the manual method for deploying this source list entry. Maybe they changed it with newer Ubuntu versions, nonetheless we now use the add-apt-repository command which should also select the correct ubuntu version of the PPA.
16 lines
498 B
Docker
16 lines
498 B
Docker
FROM docker.io/gitlab/gitlab-runner:v14.6.0
|
|
|
|
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 \
|
|
&& add-apt-repository ppa:ansible/ansible \
|
|
&& apt-get update \
|
|
&& apt-get install -y ansible python3-requests python3-influxdb python3-netaddr \
|
|
&& apt-get clean && apt-get purge && rm -r /var/lib/apt/lists/* \
|
|
&& true
|