From aac2612bb8ff6a6c03a654af1b13040653b68e01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Kuba?= Date: Thu, 7 Sep 2023 18:00:57 +0200 Subject: [PATCH] update Dockerfile.latest to alpine:3.18 --- Dockerfiles/Dockerfile.latest | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfiles/Dockerfile.latest b/Dockerfiles/Dockerfile.latest index 59719eb..1978f96 100644 --- a/Dockerfiles/Dockerfile.latest +++ b/Dockerfiles/Dockerfile.latest @@ -1,4 +1,4 @@ -FROM alpine:3.16 as builder +FROM alpine:3.18 as builder RUN set -eux \ && apk add --no-cache \ @@ -30,7 +30,7 @@ RUN set -eux \ && find /usr/lib/ -name '*.pyc' -print0 | xargs -0 -n1 rm -rf -FROM alpine:3.16 as production +FROM alpine:3.18 as production ARG VERSION # https://github.com/opencontainers/image-spec/blob/master/annotations.md #LABEL "org.opencontainers.image.created"="" @@ -55,7 +55,7 @@ RUN set -eux \ && find /usr/lib/ -name '__pycache__' -print0 | xargs -0 -n1 rm -rf \ && find /usr/lib/ -name '*.pyc' -print0 | xargs -0 -n1 rm -rf -COPY --from=builder /usr/lib/python3.10/site-packages/ /usr/lib/python3.10/site-packages/ +COPY --from=builder /usr/lib/python3.11/site-packages/ /usr/lib/python3.11/site-packages/ COPY --from=builder /usr/bin/ansible-lint /usr/bin/ansible-lint COPY --from=builder /usr/bin/ansible /usr/bin/ansible COPY --from=builder /usr/bin/ansible-config /usr/bin/ansible-config