Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: removed distutils package from dockerfiles #72

Merged
merged 2 commits into from
Dec 9, 2024
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
3 changes: 1 addition & 2 deletions dockerfiles/course-discovery.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ RUN apt-get update && \
libcairo2-dev \
python3-pip \
python${PYTHON_VERSION} \
python${PYTHON_VERSION}-dev \
python${PYTHON_VERSION}-distutils && \
python${PYTHON_VERSION}-dev && \
rm -rf /var/lib/apt/lists/*

# Use UTF-8.
Expand Down
3 changes: 1 addition & 2 deletions dockerfiles/edx-exams.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ RUN apt-get update && apt-get -qy install --no-install-recommends \
curl \
python3-pip \
python${PYTHON_VERSION} \
python${PYTHON_VERSION}-dev \
python${PYTHON_VERSION}-distutils
python${PYTHON_VERSION}-dev

RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

Expand Down
3 changes: 1 addition & 2 deletions dockerfiles/edx-notes-api.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ RUN apt-get update && apt-get -qy install --no-install-recommends \
curl \
python3-pip \
python${PYTHON_VERSION} \
python${PYTHON_VERSION}-dev \
python${PYTHON_VERSION}-distutils && \
python${PYTHON_VERSION}-dev && \
rm -rf /var/lib/apt/lists/*

RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
Expand Down
3 changes: 1 addition & 2 deletions dockerfiles/enterprise-access.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ RUN apt-get update && apt-get -qy install --no-install-recommends \
libsqlite3-dev \
python3-pip \
python${PYTHON_VERSION} \
python${PYTHON_VERSION}-dev \
python${PYTHON_VERSION}-distutils
python${PYTHON_VERSION}-dev

RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

Expand Down
3 changes: 1 addition & 2 deletions dockerfiles/enterprise-subsidy.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ RUN apt-get update && apt-get -qy install --no-install-recommends \
libsqlite3-dev \
python3-pip \
python${PYTHON_VERSION} \
python${PYTHON_VERSION}-dev \
python${PYTHON_VERSION}-distutils
python${PYTHON_VERSION}-dev

RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

Expand Down
3 changes: 1 addition & 2 deletions dockerfiles/license-manager.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ RUN apt-get update && apt-get -qy install --no-install-recommends \
libsqlite3-dev \
python3-pip \
python${PYTHON_VERSION} \
python${PYTHON_VERSION}-dev \
python${PYTHON_VERSION}-distutils
python${PYTHON_VERSION}-dev

# Use virtualenv pypi package with Python 3.12
RUN curl -sS https://bootstrap.pypa.io/get-pip.py | python${PYTHON_VERSION}
Expand Down
3 changes: 1 addition & 2 deletions dockerfiles/portal-designer.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ RUN apt-get update && apt-get -qy install --no-install-recommends \
curl \
python3-pip \
python${PYTHON_VERSION} \
python${PYTHON_VERSION}-dev \
python${PYTHON_VERSION}-distutils
python${PYTHON_VERSION}-dev

RUN pip install --upgrade pip setuptools
# delete apt package lists because we do not need them inflating our image
Expand Down
3 changes: 1 addition & 2 deletions dockerfiles/program-intent-engagement.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ RUN apt-get update && apt-get -qy install --no-install-recommends \
curl \
python3-pip \
python${PYTHON_VERSION} \
python${PYTHON_VERSION}-dev \
python${PYTHON_VERSION}-distutils
python${PYTHON_VERSION}-dev


# need to use virtualenv pypi package with Python 3.12
Expand Down
3 changes: 1 addition & 2 deletions dockerfiles/registrar.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ RUN apt-get install -qy \
curl \
python3-pip \
python${PYTHON_VERSION} \
python${PYTHON_VERSION}-dev \
python${PYTHON_VERSION}-distutils
python${PYTHON_VERSION}-dev

# need to use virtualenv pypi package with Python 3.12
RUN curl -sS https://bootstrap.pypa.io/get-pip.py | python${PYTHON_VERSION}
Expand Down