ci(docker): add winrm

This commit is contained in:
Denis Gukov 2024-10-08 17:15:43 +05:00
parent d83eceee2b
commit 14c6a48c21
3 changed files with 3 additions and 3 deletions

View File

@ -60,7 +60,7 @@ RUN mkdir /opt/semaphore/venv
RUN python3 -m venv /opt/semaphore/venv --system-site-packages && \
source /opt/semaphore/venv/bin/activate && \
pip3 install --upgrade pip ansible==${ANSIBLE_VERSION} boto3 botocore requests
pip3 install --upgrade pip ansible==${ANSIBLE_VERSION} boto3 botocore requests pywinrm
# Preventing ansible zombie processes. Tini kills zombies.
ENTRYPOINT ["/sbin/tini", "--"]

View File

@ -84,7 +84,7 @@ RUN apk add --no-cache -U python3-dev build-base openssl-dev libffi-dev cargo &&
mkdir -p ${ANSIBLE_VENV_PATH} && \
python3 -m venv ${ANSIBLE_VENV_PATH} --system-site-packages && \
source ${ANSIBLE_VENV_PATH}/bin/activate && \
pip3 install --upgrade pip ansible==${ANSIBLE_VERSION} boto3 botocore requests && \
pip3 install --upgrade pip ansible==${ANSIBLE_VERSION} boto3 botocore requests pywinrm && \
apk del python3-dev build-base openssl-dev libffi-dev cargo && \
rm -rf /var/cache/apk/* && \
find ${ANSIBLE_VENV_PATH} -iname __pycache__ | xargs rm -rf && \

View File

@ -83,7 +83,7 @@ RUN apk add --no-cache -U python3-dev build-base openssl-dev libffi-dev cargo &&
mkdir -p ${ANSIBLE_VENV_PATH} && \
python3 -m venv ${ANSIBLE_VENV_PATH} --system-site-packages && \
source ${ANSIBLE_VENV_PATH}/bin/activate && \
pip3 install --upgrade pip ansible==${ANSIBLE_VERSION} boto3 botocore requests && \
pip3 install --upgrade pip ansible==${ANSIBLE_VERSION} boto3 botocore requests pywinrm && \
apk del python3-dev build-base openssl-dev libffi-dev cargo && \
rm -rf /var/cache/apk/* && \
find ${ANSIBLE_VENV_PATH} -iname __pycache__ | xargs rm -rf && \