mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-24 22:06:43 +01:00
ci(docker): add winrm
This commit is contained in:
parent
d83eceee2b
commit
14c6a48c21
@ -60,7 +60,7 @@ RUN mkdir /opt/semaphore/venv
|
|||||||
|
|
||||||
RUN python3 -m venv /opt/semaphore/venv --system-site-packages && \
|
RUN python3 -m venv /opt/semaphore/venv --system-site-packages && \
|
||||||
source /opt/semaphore/venv/bin/activate && \
|
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.
|
# Preventing ansible zombie processes. Tini kills zombies.
|
||||||
ENTRYPOINT ["/sbin/tini", "--"]
|
ENTRYPOINT ["/sbin/tini", "--"]
|
||||||
|
@ -84,7 +84,7 @@ RUN apk add --no-cache -U python3-dev build-base openssl-dev libffi-dev cargo &&
|
|||||||
mkdir -p ${ANSIBLE_VENV_PATH} && \
|
mkdir -p ${ANSIBLE_VENV_PATH} && \
|
||||||
python3 -m venv ${ANSIBLE_VENV_PATH} --system-site-packages && \
|
python3 -m venv ${ANSIBLE_VENV_PATH} --system-site-packages && \
|
||||||
source ${ANSIBLE_VENV_PATH}/bin/activate && \
|
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 && \
|
apk del python3-dev build-base openssl-dev libffi-dev cargo && \
|
||||||
rm -rf /var/cache/apk/* && \
|
rm -rf /var/cache/apk/* && \
|
||||||
find ${ANSIBLE_VENV_PATH} -iname __pycache__ | xargs rm -rf && \
|
find ${ANSIBLE_VENV_PATH} -iname __pycache__ | xargs rm -rf && \
|
||||||
|
@ -83,7 +83,7 @@ RUN apk add --no-cache -U python3-dev build-base openssl-dev libffi-dev cargo &&
|
|||||||
mkdir -p ${ANSIBLE_VENV_PATH} && \
|
mkdir -p ${ANSIBLE_VENV_PATH} && \
|
||||||
python3 -m venv ${ANSIBLE_VENV_PATH} --system-site-packages && \
|
python3 -m venv ${ANSIBLE_VENV_PATH} --system-site-packages && \
|
||||||
source ${ANSIBLE_VENV_PATH}/bin/activate && \
|
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 && \
|
apk del python3-dev build-base openssl-dev libffi-dev cargo && \
|
||||||
rm -rf /var/cache/apk/* && \
|
rm -rf /var/cache/apk/* && \
|
||||||
find ${ANSIBLE_VENV_PATH} -iname __pycache__ | xargs rm -rf && \
|
find ${ANSIBLE_VENV_PATH} -iname __pycache__ | xargs rm -rf && \
|
||||||
|
Loading…
Reference in New Issue
Block a user