Skip to content

Commit 1078e2f

Browse files
committed
Enforcer - Fix vulenrabilities
1 parent 8af1a53 commit 1078e2f

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

enforcer/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,8 @@ COPY ./resources/ resources/
1818
COPY ./requirements.txt requirements.txt
1919

2020

21-
RUN pip install --no-cache-dir --upgrade pip
22-
# Install the project dependencies
23-
RUN python -m ensurepip --upgrade
21+
RUN pip install --no-cache-dir "pip>=25.3" \
22+
&& rm -rf /usr/local/lib/python3.12/ensurepip/_bundled/pip-*.whl
2423
RUN pip install --no-cache-dir -r requirements.txt
2524

2625
CMD ["python", "enforcer_main.py"]

enforcer/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ cachetools==5.3.3
77
prometheus-client==0.20.0
88
kubernetes==26.1.0
99
pyasn1>=0.6.2
10-
urllib3==2.6.2
10+
urllib3==2.6.3

0 commit comments

Comments
 (0)