diff --git a/Dockerfile b/Dockerfile index bb7d1ec..dc0d2fe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,16 +1,7 @@ -FROM docker.io/gitlab/gitlab-runner:v16.8.0 +FROM docker.io/gitlab/gitlab-runner:alpine-v16.8.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 software-properties-common \ - && 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/* \ + && apk update \ + && apk upgrade \ + && apk add ansible py3-influxdb py3-netaddr \ && true