Skip to content

Commit

Permalink
pip.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyclenerd committed Dec 15, 2024
1 parent e67df07 commit 0fbd15d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,11 @@ FROM docker.io/library/ubuntu:noble AS base
# Set environment variables
ENV LANG="C.UTF-8" \
DEBIAN_FRONTEND="noninteractive" \
NO_COLOR=1 \
NONINTERACTIVE=1 \
PYTHONUNBUFFERED="True" \
PIP_DISABLE_PIP_VERSION_CHECK=1 \
PIP_ROOT_USER_ACTION="ignore" \
PYTHONUNBUFFERED="True" \
# https://github.com/sgarciac/fuego/releases
FUEGO_VERSION="0.35.0" \
# https://github.com/GoogleCloudPlatform/gcr-cleaner/releases
Expand Down Expand Up @@ -196,7 +198,7 @@ RUN uname -m && \
# Delete all log file
find /var/log -type f -delete && \
# Disable Python virtual environments warning
rm "/usr/lib/python3.12/EXTERNALLY-MANAGED" && \
printf "[global]\nbreak-system-packages = true" > "/etc/pip.conf" && \
# Basic smoke test
echo "Versions..." && \
ansible --version && \
Expand Down
2 changes: 1 addition & 1 deletion devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ RUN uname -m && \
# Delete all log file
find /var/log -type f -delete && \
# Disable Python virtual environments warning
rm "/usr/lib/python3.12/EXTERNALLY-MANAGED" && \
printf "[global]\nbreak-system-packages = true" > "/etc/pip.conf" && \
# Basic smoke test
echo "Versions..." && \
ansible --version && \
Expand Down
2 changes: 1 addition & 1 deletion workstations/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ RUN uname -m && \
# Delete all log file
find /var/log -type f -delete && \
# Disable Python virtual environments warning
rm "/usr/lib/python3.12/EXTERNALLY-MANAGED" && \
printf "[global]\nbreak-system-packages = true" > "/etc/pip.conf" && \
# Basic smoke test
echo "Versions..." && \
ansible --version && \
Expand Down

0 comments on commit 0fbd15d

Please sign in to comment.