1
0
Fork 0
This repository has been archived on 2025-01-13. You can view files and clone it, but cannot push or open issues or pull requests.
gitlab-ansible-runner/Dockerfile
saibotk adbbc841e0
Use add-apt-repository to correctly add ppa
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.
2022-01-02 23:42:53 +01:00

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