Remove high vulnerabilities from setuptools and wheel

CVE-2022-40897 CVE-2022-40898 regarding CWE-1333
This commit is contained in:
Damian Fajfer
2024-04-05 20:53:40 +02:00
parent 4a60712a6c
commit dae79e05d7

View File

@@ -5,6 +5,7 @@ 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
@@ -12,8 +13,7 @@ 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