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
Sheogorath bbd5323de4
Fix missing python libraries
Ansible reports:

```
Failed to import the required Python library (requests) on container's Python /usr/bin/python2.
```

This is due to missing libraries obviously as well as the fact that
ansible runs in python2 not python 3 on debian. Therefore this patch
rewrites the added lbiraries for influxdb and fixes the error message.
2020-07-06 00:42:12 +02:00

15 lines
494 B
Docker

FROM docker.io/gitlab/gitlab-runner:v13.1.1
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 software-properties-common \
&& apt-add-repository --yes --update ppa:ansible/ansible \
&& apt-get install -y ansible python-requests python-influxdb \
&& apt-get clean && apt-get purge && rm -r /var/lib/apt/lists/* \
&& true