File tree Expand file tree Collapse file tree 1 file changed +21
-21
lines changed Expand file tree Collapse file tree 1 file changed +21
-21
lines changed Original file line number Diff line number Diff line change 1- FROM python:3.9 -alpine3.13 AS builder
1+ FROM python:3.10 -alpine3.17 AS builder
22
3- ENV MOLECULE_VER=3.5.2
3+ ENV MOLECULE_VER=4.0.3
44
55RUN set -eux \
6- && apk add --update --no-cache \
7- gcc \
8- libc-dev \
9- libffi-dev \
10- make \
11- musl-dev \
12- openssl-dev \
13- && pip install --no-cache-dir \
14- cryptography==2 .8 \
15- ansible-lint \
16- jmespath \
17- "molecule[ansible,docker,lint]==$MOLECULE_VER" \
18- yamllint
6+ && apk add --update --no-cache \
7+ gcc \
8+ libc-dev \
9+ libffi-dev \
10+ make \
11+ musl-dev \
12+ openssl-dev \
13+ && pip install --no-cache-dir \
14+ cryptography==3.4 .8 \
15+ ansible-lint \
16+ jmespath \
17+ "molecule[ansible,docker,lint]==$MOLECULE_VER" \
18+ yamllint
1919
2020FROM python:3.9-alpine3.13
2121
@@ -27,13 +27,13 @@ LABEL "com.github.actions.name"="action-molecule"
2727LABEL "com.github.actions.description" ="Molecule for Ansible"
2828
2929RUN set -eux \
30- && apk add --update --no-cache \
31- docker \
32- git \
33- openssh-client \
34- && rm -rf /root/.cache
30+ && apk add --update --no-cache \
31+ docker \
32+ git \
33+ openssh-client \
34+ && rm -rf /root/.cache
3535
36- COPY --from=builder /usr/local/lib/python3.9 /site-packages/ /usr/local/lib/python3.9 /site-packages/
36+ COPY --from=builder /usr/local/lib/python3.10 /site-packages/ /usr/local/lib/python3.10 /site-packages/
3737COPY --from=builder /usr/local/bin/molecule /usr/local/bin/molecule
3838COPY --from=builder /usr/local/bin/yamllint /usr/local/bin/yamllint
3939COPY --from=builder /usr/local/bin/ansible* /usr/local/bin/
You can’t perform that action at this time.
0 commit comments