-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Install latest 0.3.11 mitogen for latest images
On alpine3.20, debian bookworm and ubuntu 24.04, the latest mitogen version 0.3.11 is installed.
- Loading branch information
Showing
5 changed files
with
12 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ ARG ANSIBLE_LINT | |
ENV ANSIBLE_CORE_VERSION ${ANSIBLE_CORE_VERSION} | ||
ENV ANSIBLE_VERSION ${ANSIBLE_VERSION} | ||
ENV ANSIBLE_LINT ${ANSIBLE_LINT} | ||
ENV MITOGEN_VERSION=0.3.11 | ||
|
||
# Labels. | ||
LABEL maintainer="[email protected]" \ | ||
|
@@ -43,7 +44,7 @@ RUN apk --no-cache add \ | |
pip3 install ansible-core==${ANSIBLE_CORE_VERSION} && \ | ||
pip3 install ansible==${ANSIBLE_VERSION} && \ | ||
pip3 install --ignore-installed ansible-lint==${ANSIBLE_LINT} && \ | ||
pip3 install mitogen jmespath && \ | ||
pip3 install mitogen==${MITOGEN_VERSION} jmespath && \ | ||
pip3 install --upgrade pywinrm && \ | ||
apk del build-dependencies && \ | ||
rm -rf /var/cache/apk/* && \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ ARG ANSIBLE_LINT | |
ENV ANSIBLE_CORE_VERSION ${ANSIBLE_CORE_VERSION} | ||
ENV ANSIBLE_VERSION ${ANSIBLE_VERSION} | ||
ENV ANSIBLE_LINT ${ANSIBLE_LINT} | ||
ENV MITOGEN_VERSION=0.3.11 | ||
|
||
# Labels. | ||
LABEL maintainer="[email protected]" \ | ||
|
@@ -28,7 +29,7 @@ RUN rm -rf /usr/lib/python3.11/EXTERNALLY-MANAGED && \ | |
pip3 install --upgrade pip cffi && \ | ||
pip3 install ansible-core==${ANSIBLE_CORE_VERSION} && \ | ||
pip3 install ansible==${ANSIBLE_VERSION} ansible-lint==${ANSIBLE_LINT} && \ | ||
pip3 install mitogen jmespath && \ | ||
pip3 install mitogen==${MITOGEN_VERSION} jmespath && \ | ||
pip install --upgrade pywinrm && \ | ||
rm -rf /root/.cache/pip | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ ARG ANSIBLE_LINT | |
ENV ANSIBLE_CORE_VERSION ${ANSIBLE_CORE_VERSION} | ||
ENV ANSIBLE_VERSION ${ANSIBLE_VERSION} | ||
ENV ANSIBLE_LINT ${ANSIBLE_LINT} | ||
ENV MITOGEN_VERSION=0.3.11 | ||
|
||
# Labels. | ||
LABEL maintainer="[email protected]" \ | ||
|
@@ -28,7 +29,7 @@ RUN rm -rf /usr/lib/python3.11/EXTERNALLY-MANAGED && \ | |
pip3 install --upgrade pip cffi && \ | ||
pip3 install ansible-core==${ANSIBLE_CORE_VERSION} && \ | ||
pip3 install ansible==${ANSIBLE_VERSION} ansible-lint==${ANSIBLE_LINT} && \ | ||
pip3 install mitogen jmespath && \ | ||
pip3 install mitogen==${MITOGEN_VERSION} jmespath && \ | ||
pip install --upgrade pywinrm && \ | ||
rm -rf /root/.cache/pip | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ ARG ANSIBLE_LINT | |
ENV ANSIBLE_CORE_VERSION ${ANSIBLE_CORE_VERSION} | ||
ENV ANSIBLE_VERSION ${ANSIBLE_VERSION} | ||
ENV ANSIBLE_LINT ${ANSIBLE_LINT} | ||
ENV MITOGEN_VERSION=0.3.11 | ||
ENV PIPX_BIN_DIR=/usr/local/bin | ||
|
||
# Labels. | ||
|
@@ -22,13 +23,15 @@ LABEL maintainer="[email protected]" \ | |
|
||
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \ | ||
apt-get install -y gnupg2 pipx sshpass git openssh-client && \ | ||
apt-get install -y python3 python3-cffi python3-mitogen python3-jmespath && \ | ||
apt-get install -y python3 python3-cffi python3-jmespath && \ | ||
rm -rf /var/lib/apt/lists/* && \ | ||
apt-get clean | ||
|
||
RUN pipx install ansible-core==${ANSIBLE_CORE_VERSION} && \ | ||
RUN rm -rf /usr/lib/python3.12/EXTERNALLY-MANAGED && \ | ||
pipx install ansible-core==${ANSIBLE_CORE_VERSION} && \ | ||
pipx install ansible==${ANSIBLE_VERSION} ansible-lint==${ANSIBLE_LINT} && \ | ||
pipx install pywinrm --include-deps && \ | ||
pip3 install mitogen==${MITOGEN_VERSION} \ | ||
rm -rf /root/.cache/pip* | ||
|
||
RUN mkdir /ansible && \ | ||
|