Skip to content

Commit

Permalink
upgrade setuptools to remove his vulnerability #6
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxDragonheart committed Dec 31, 2023
1 parent 23a94ae commit f8353da
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 f8353da

Please sign in to comment.