Skip to content

Commit

Permalink
Merge pull request #7 from MaxDragonheart/bug-#6
Browse files Browse the repository at this point in the history
upgrade setuptools to remove his vulnerability #6
  • Loading branch information
MaxDragonheart authored Dec 31, 2023
2 parents 23a94ae + f8353da commit 275154e
Showing 1 changed file with 5 additions and 2 deletions.
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

0 comments on commit 275154e

Please sign in to comment.