Skip to content

Commit

Permalink
ci(docker): add winrm
Browse files Browse the repository at this point in the history
  • Loading branch information
fiftin committed Oct 8, 2024
1 parent d83ecee commit 14c6a48
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deployment/docker/debug/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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", "--"]
Expand Down
2 changes: 1 addition & 1 deletion deployment/docker/runner/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down
2 changes: 1 addition & 1 deletion deployment/docker/server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down

0 comments on commit 14c6a48

Please sign in to comment.