Skip to content

Commit

Permalink
Fix ansible, sslyze and visidata
Browse files Browse the repository at this point in the history
Signed-off-by: Jauder Ho <jauderho@users.noreply.github.com>
  • Loading branch information
jauderho committed Dec 10, 2023
1 parent aa630a4 commit efc4b29
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 13 deletions.
1 change: 1 addition & 0 deletions ansible/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ RUN apt-get update && \
DEBIAN_FRONTEND=${DEBIAN_FRONTEND} apt-get install -y --no-install-recommends ${build_pkgs} ${runtime_pkgs} && \
python3 -m pip install --no-cache-dir --upgrade pip --break-system-packages && \
#python3 -m pip install --no-cache-dir --upgrade --ignore-installed packaging --break-system-packages && \
pip3 install --no-cache-dir --upgrade wheel --break-system-packages && \
pip3 install --no-cache-dir -r requirements.txt --break-system-packages && \
apt-get purge -y ${build_pkgs} && \
apt-get autoremove -y --purge && \
Expand Down
14 changes: 7 additions & 7 deletions ansible/Dockerfile.alpine
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ RUN test -n "${BUILD_VERSION}" && \
runtime_pkgs="ca-certificates openssl openssh-client python3" && \
apk --no-cache add --virtual build-dependencies ${build_pkgs} && \
apk --no-cache add ${runtime_pkgs} && \
python3 -m pip install --no-cache-dir --upgrade pip && \
python3 -m pip install --no-cache-dir --upgrade --ignore-installed packaging && \
pip3 install --no-cache-dir --upgrade wheel && \
pip3 install --no-cache-dir --upgrade cryptography cffi certifi && \
pip3 install --no-cache-dir ansible==${BUILD_VERSION} && \
pip3 install --no-cache-dir ansible-lint && \
pip3 install --no-cache-dir --upgrade pywinrm && \
python3 -m pip install --no-cache-dir --upgrade pip --break-system-packages && \
#python3 -m pip install --no-cache-dir --upgrade --ignore-installed packaging --break-system-packages && \
pip3 install --no-cache-dir --upgrade wheel --break-system-packages && \
pip3 install --no-cache-dir --upgrade cryptography cffi certifi --break-system-packages && \
pip3 install --no-cache-dir ansible==${BUILD_VERSION} --break-system-packages && \
pip3 install --no-cache-dir ansible-lint --break-system-packages && \
pip3 install --no-cache-dir --upgrade pywinrm --break-system-packages && \
apk del build-dependencies && \
rm -rf /var/cache/apk/* && \
rm -rf /root/.cache/pip && \
Expand Down
6 changes: 3 additions & 3 deletions sslyze/Dockerfile.alpine
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ RUN \
runtime_pkgs="ca-certificates openssl python3" && \
apk --no-cache add --virtual build-dependencies ${build_pkgs} && \
apk --no-cache add ${runtime_pkgs} && \
python3 -m pip install --no-cache-dir --upgrade pip && \
pip3 install --no-cache-dir --upgrade wheel && \
pip3 install --no-cache-dir -r requirements.txt && \
python3 -m pip install --no-cache-dir --upgrade pip --break-system-packages && \
pip3 install --no-cache-dir --upgrade wheel --break-system-packages && \
pip3 install --no-cache-dir -r requirements.txt --break-system-packages && \
apk del build-dependencies && \
rm -rf /var/cache/apk/* && \
rm -rf /root/.cache/pip && \
Expand Down
6 changes: 3 additions & 3 deletions visidata/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ RUN \
runtime_pkgs="ca-certificates openssl python3 py3-pip libxml2 libxslt" && \
apk --no-cache add --virtual build-dependencies ${build_pkgs} && \
apk --no-cache add ${runtime_pkgs} && \
python3 -m pip install --no-cache-dir --upgrade pip && \
pip3 install --no-cache-dir --upgrade wheel && \
pip3 install --no-cache-dir -r requirements.txt && \
python3 -m pip install --no-cache-dir --upgrade pip --break-system-packages && \
pip3 install --no-cache-dir --upgrade wheel --break-system-packages && \
pip3 install --no-cache-dir -r requirements.txt --break-system-packages && \
apk del build-dependencies && \
rm -rf /var/cache/apk/* && \
rm -rf /root/.cache/pip && \
Expand Down

0 comments on commit efc4b29

Please sign in to comment.