Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions docker/Dockerfile_dev-base
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ RUN apt-get update \

ENV PYTHONUNBUFFERED=1 \
PYTHONDONTWRITEBYTECODE=1 \
PIP_DISABLE_PIP_VERSION_CHECK=on
PIP_DISABLE_PIP_VERSION_CHECK=on \
PIP_BREAK_SYSTEM_PACKAGES=1

# TAKEN from https://github.com/docker-library/python/blob/a58630aef106c8efd710011c6a2a0a1d551319a0/3.11/bullseye/Dockerfile
# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
Expand All @@ -62,14 +63,10 @@ RUN set -eux; \
--break-system-packages \
"pip==$PYTHON_PIP_VERSION" \
"setuptools==$PYTHON_SETUPTOOLS_VERSION" \
wheel \
; \
rm -f get-pip.py; \
\
pip --version; \
mkdir -p ~/.config/pip \
&& echo "[global]" >> ~/.config/pip/pip.conf \
&& echo "break-system-packages = true" >> ~/.config/pip/pip.conf
pip --version

RUN python -m pip install --no-cache-dir -U wheel future lxml pexpect fastcrc flake8 pycodestyle empy==3.3.4 pyelftools tabulate pre-commit junitparser ptyprocess dronecan requests mock

Expand Down Expand Up @@ -110,3 +107,5 @@ ENV TZ=UTC
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
ENV PIP_DISABLE_PIP_VERSION_CHECK=on
ENV PIP_BREAK_SYSTEM_PACKAGES=1
ENV PIP_ROOT_USER_ACTION=ignore
11 changes: 5 additions & 6 deletions docker/Dockerfile_dev-ros
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ RUN apt-get update && apt-get install --no-install-recommends -y \

ENV PYTHONUNBUFFERED=1 \
PYTHONDONTWRITEBYTECODE=1 \
PIP_DISABLE_PIP_VERSION_CHECK=on
PIP_DISABLE_PIP_VERSION_CHECK=on \
PIP_BREAK_SYSTEM_PACKAGES=1

# TAKEN from https://github.com/docker-library/python/blob/a58630aef106c8efd710011c6a2a0a1d551319a0/3.11/bullseye/Dockerfile
# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
Expand All @@ -66,14 +67,10 @@ RUN set -eux; \
--break-system-packages \
"pip==$PYTHON_PIP_VERSION" \
"setuptools==$PYTHON_SETUPTOOLS_VERSION" \
wheel \
; \
rm -f get-pip.py; \
\
pip --version; \
mkdir -p ~/.config/pip \
&& echo "[global]" >> ~/.config/pip/pip.conf \
&& echo "break-system-packages = true" >> ~/.config/pip/pip.conf
pip --version;

RUN python -m pip install --no-cache-dir -U wheel future lxml pexpect fastcrc flake8 pycodestyle empy==3.3.4 pyelftools tabulate pre-commit junitparser ptyprocess dronecan pymavlink requests mock

Expand Down Expand Up @@ -136,3 +133,5 @@ ENV TZ=UTC
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
ENV PIP_DISABLE_PIP_VERSION_CHECK=on
ENV PIP_BREAK_SYSTEM_PACKAGES=1
ENV PIP_ROOT_USER_ACTION=ignore
Loading