Skip to content

Commit aac2612

Browse files
author
Tomáš Kuba
committed
update Dockerfile.latest to alpine:3.18
1 parent 2ed4b32 commit aac2612

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfiles/Dockerfile.latest

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM alpine:3.16 as builder
1+
FROM alpine:3.18 as builder
22

33
RUN set -eux \
44
&& apk add --no-cache \
@@ -30,7 +30,7 @@ RUN set -eux \
3030
&& find /usr/lib/ -name '*.pyc' -print0 | xargs -0 -n1 rm -rf
3131

3232

33-
FROM alpine:3.16 as production
33+
FROM alpine:3.18 as production
3434
ARG VERSION
3535
# https://github.com/opencontainers/image-spec/blob/master/annotations.md
3636
#LABEL "org.opencontainers.image.created"=""
@@ -55,7 +55,7 @@ RUN set -eux \
5555
&& find /usr/lib/ -name '__pycache__' -print0 | xargs -0 -n1 rm -rf \
5656
&& find /usr/lib/ -name '*.pyc' -print0 | xargs -0 -n1 rm -rf
5757

58-
COPY --from=builder /usr/lib/python3.10/site-packages/ /usr/lib/python3.10/site-packages/
58+
COPY --from=builder /usr/lib/python3.11/site-packages/ /usr/lib/python3.11/site-packages/
5959
COPY --from=builder /usr/bin/ansible-lint /usr/bin/ansible-lint
6060
COPY --from=builder /usr/bin/ansible /usr/bin/ansible
6161
COPY --from=builder /usr/bin/ansible-config /usr/bin/ansible-config

0 commit comments

Comments
 (0)