You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Temporary: Upgrade python packages due to https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-40897 and https://github.com/advisories/GHSA-2mqj-m65w-jghx
9
+
# They are installed by the base image (python) which does not have the patch.
10
+
RUN python3 -m pip install --upgrade \
11
+
setuptools==69.0.3 \
12
+
gitpython==3.1.41
13
+
14
+
# [Optional] If your pip requirements rarely change, uncomment this section to add them to the image.
15
+
COPY .pre-commit-config.yaml /tmp/
16
+
COPY requirements.txt /tmp/pip-tmp/
17
+
RUN pip3 --disable-pip-version-check --no-cache-dir install -r /tmp/pip-tmp/requirements.txt \
18
+
&& rm -rf /tmp/pip-tmp
19
+
20
+
# [Optional] Uncomment this section to install additional OS packages.
21
+
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
0 commit comments