mirror of
https://github.com/aljazceru/gcups.git
synced 2025-12-18 13:54:22 +01:00
Remove high vulnerabilities from setuptools and wheel
CVE-2022-40897 CVE-2022-40898 regarding CWE-1333
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user