Merge pull request #45 from svc-design/build-ci-image-ansible-runner

Update Dockerfile
This commit is contained in:
shenlan 2024-04-30 13:53:59 +08:00 committed by GitHub
commit d05f293548
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,4 @@
FROM python:3.8
FROM python:3.10
ENV TIME_ZONE=Asia/Shanghai \
BIN_PERM=0755 \
@ -18,7 +18,7 @@ RUN unlink /etc/localtime && ln -s /usr/share/zoneinfo/${TIME_ZONE} /etc/localti
&& helm plugin install https://github.com/databus23/helm-diff \
&& rm -rf /var/lib/apt/lists/*
RUN pip install ansible==2.10 ansible-lint jmespath hvac jinja2 && ansible-galaxy collection install community.hashi_vault
RUN pip install ansible ansible-lint jmespath hvac jinja2 && ansible-galaxy collection install community.hashi_vault
WORKDIR /home/${USER}