Skip to content

Commit

Permalink
Remove high vulnerabilities from setuptools and wheel
Browse files Browse the repository at this point in the history
CVE-2022-40897 CVE-2022-40898 regarding CWE-1333
  • Loading branch information
fajfer committed Apr 6, 2024
1 parent 4a60712 commit dae79e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gcups/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ RUN apt-get update && apt-get install --no-install-recommends -y wget gpg xvfb l
apt-get update -y && apt-get install --no-install-recommends -y gcups && \
rm -rf var/lib/apt/lists/* && \
python3 -m pip --no-cache-dir install plyvel && \
python3 -m pip --no-cache-dir uninstall setuptools wheel && \
apt-get remove -y python3-pip && \
mkdir -m775 -p /opt/gcups/db/gcups-rxdb-1-settings

COPY init.sh populate-db.py db.txt /opt/
WORKDIR /opt
RUN python3 populate-db.py

ENV GCUPS_HTTP_PORT=8080
ENV GCUPS_PASSWORD=gcups123
ENV GCUPS_HTTP_PORT=8080 GCUPS_PASSWORD=gcups123

EXPOSE $GCUPS_HTTP_PORT

Expand Down

0 comments on commit dae79e0

Please sign in to comment.