From 011f0c5981c6ec7cbf5d888507caaf5105c023db Mon Sep 17 00:00:00 2001 From: Saibotk Date: Fri, 6 Jan 2023 16:45:04 +0000 Subject: [PATCH] Add git to container Since v6.10.2 this is a runtime dependency, see https://github.com/ansible/ansible-lint/pull/2860 --- Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Dockerfile b/Dockerfile index 9558d79..07fefd9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,9 @@ FROM docker.io/library/python:3.11-slim +RUN true \ + && apt-get update \ + && apt-get install -y git \ + && apt-get clean && apt-get purge && rm -r /var/lib/apt/lists/* \ + && true + RUN pip install "ansible-lint[community,yamllint]"