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

upgrade setuptools to remove his vulnerability #6 #7

Merged
merged 1 commit into from
Dec 31, 2023
Merged
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
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC
RUN aptitude install -y tzdata

# OS as Layer
FROM os as gis-os
FROM os as python-os
# Set Python environment variables
# Prevents Python from writing pyc files to disc
ENV PYTHONDONTWRITEBYTECODE 1
Expand All @@ -40,7 +40,10 @@ RUN aptitude install -y \
binutils
RUN pip3 install --upgrade pip
# Upgrade Python's packages
RUN pip3 install --upgrade wheel pillow
RUN pip3 install --upgrade wheel pillow setuptools

# Python OS as Layer
FROM python-os as gis-os
# Installing Geospatial libraries
RUN aptitude install -y \
libpq-dev \
Expand Down
Loading