Skip to content

Commit

Permalink
remove setuptools dependency after build
Browse files Browse the repository at this point in the history
  • Loading branch information
P4sca1 committed Oct 4, 2024
1 parent a598963 commit 0d3efca
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ RUN if [ "$LOGPREP_VERSION" = "dev" ]; then pip install .;\
else pip install "logprep==$LOGPREP_VERSION"; fi; \
logprep --version

# geoip2 4.8.0 lists a vulnerable setuptools version as a dependency. setuptools is unneeded at runtime, so it is uninstalled.
# More recent (currently unreleased) versions of geoip2 removed setuptools from dependencies.
RUN pip uninstall -y setuptools


FROM bitnami/python:${PYTHON_VERSION} as prod
ARG http_proxy
Expand Down

0 comments on commit 0d3efca

Please sign in to comment.