Add git to container
Since v6.10.2 this is a runtime dependency, see https://github.com/ansible/ansible-lint/pull/2860
This commit is contained in:
parent
0a237f5cf3
commit
011f0c5981
1 changed files with 6 additions and 0 deletions
|
@ -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]"
|
||||
|
|
Reference in a new issue