Skip to content

Commit 6c46c96

Browse files
Include Python3 passlib lib to Docker image
1 parent 5c8e54e commit 6c46c96

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

deployment/docker/runner/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ COPY . /go/src/semaphore
1212

1313
RUN --mount=type=cache,target=/go/pkg \
1414
go mod download -x
15-
15+
1616
ARG APP_BUILD_TYPE
1717
ARG TARGETOS
1818
ARG TARGETARCH
@@ -86,7 +86,7 @@ RUN apk add --no-cache -U python3-dev build-base openssl-dev libffi-dev cargo &&
8686
mkdir -p ${ANSIBLE_VENV_PATH} && \
8787
python3 -m venv ${ANSIBLE_VENV_PATH} --system-site-packages && \
8888
source ${ANSIBLE_VENV_PATH}/bin/activate && \
89-
pip3 install --upgrade pip ansible==${ANSIBLE_VERSION} boto3 botocore requests pywinrm && \
89+
pip3 install --upgrade pip ansible==${ANSIBLE_VERSION} boto3 botocore requests pywinrm passlib && \
9090
apk del python3-dev build-base openssl-dev libffi-dev cargo && \
9191
rm -rf /var/cache/apk/* && \
9292
find ${ANSIBLE_VENV_PATH} -iname __pycache__ | xargs rm -rf && \

deployment/docker/server/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ RUN apk add --no-cache -U python3-dev build-base openssl-dev libffi-dev cargo &&
8888
mkdir -p ${ANSIBLE_VENV_PATH} && \
8989
python3 -m venv ${ANSIBLE_VENV_PATH} --system-site-packages && \
9090
source ${ANSIBLE_VENV_PATH}/bin/activate && \
91-
pip3 install --upgrade pip ansible==${ANSIBLE_VERSION} boto3 botocore requests pywinrm && \
91+
pip3 install --upgrade pip ansible==${ANSIBLE_VERSION} boto3 botocore requests pywinrm passlib && \
9292
apk del python3-dev build-base openssl-dev libffi-dev cargo && \
9393
rm -rf /var/cache/apk/* && \
9494
find ${ANSIBLE_VENV_PATH} -iname __pycache__ | xargs rm -rf && \

0 commit comments

Comments
 (0)