[Docker] Change image to Debian 12
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simon Cornet 2024-02-06 13:57:41 +01:00
parent e962d621f2
commit 4802c356b3

View File

@ -8,7 +8,7 @@ ARG ANSIBLE_LINT_VERSION=6.22.0
ARG YAMLLINT_VERSION=1.33.0 ARG YAMLLINT_VERSION=1.33.0
# ubuntu base # ubuntu base
FROM ubuntu:22.04 FROM debian:12
ENV DEBIAN_FRONTEND noninteractive ENV DEBIAN_FRONTEND noninteractive
# prepare basic stuff # prepare basic stuff
@ -37,7 +37,7 @@ ARG ANSIBLE_LINT_VERSION
ARG YAMLLINT_VERSION ARG YAMLLINT_VERSION
# install ansible + linters # install ansible + linters
RUN pip3 install --use-pep517 --ignore-installed \ RUN pip3 install --use-pep517 --ignore-installed --break-system-packages \
ansible-core==${ANSIBLE_VERSION} \ ansible-core==${ANSIBLE_VERSION} \
ansible-lint==${ANSIBLE_LINT_VERSION} \ ansible-lint==${ANSIBLE_LINT_VERSION} \
yamllint==${YAMLLINT_VERSION} yamllint==${YAMLLINT_VERSION}