File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 1919ARG SYSLOGNG_VERSION=4.24.0
2020FROM ghcr.io/axoflow/axosyslog:${SYSLOGNG_VERSION}
2121
22-
2322RUN apk add -U --upgrade --no-cache \
2423 bash \
2524 binutils \
@@ -74,7 +73,10 @@ RUN python3 -m venv /var/lib/python-venv \
7473 && poetry export --format requirements.txt | /var/lib/python-venv/bin/pip3 --no-cache-dir install -r /dev/stdin \
7574 && rm -rf /var/lib/python-venv/lib/python3.*/site-packages/setuptools/_vendor/*.dist-info || true \
7675 && rm -rf /var/lib/syslog-ng-venv/lib/python3.*/site-packages/setuptools/_vendor/*.dist-info || true \
77- && apk del build-base python3-dev libffi-dev
76+ && apk del build-base python3-dev libffi-dev cargo poetry py3-pip py3-poetry-plugin-export py3-virtualenv
77+
78+ # Patch axosyslog dependencies for vulnerabilities
79+ RUN /var/lib/syslog-ng-venv/bin/pip install --no-cache-dir "cryptography>=46.0.6" "requests>=2.33.0"
7880
7981COPY package/etc/syslog-ng.conf /etc/syslog-ng/syslog-ng.conf
8082COPY package/etc/conf.d /etc/syslog-ng/conf.d
Original file line number Diff line number Diff line change 1919ARG SYSLOGNG_VERSION=4.24.0
2020FROM ghcr.io/axoflow/axosyslog:${SYSLOGNG_VERSION}
2121
22-
2322RUN apk add -U --upgrade --no-cache \
2423 bash \
2524 binutils \
@@ -74,7 +73,10 @@ RUN python3 -m venv /var/lib/python-venv \
7473 && poetry export --format requirements.txt | /var/lib/python-venv/bin/pip3 --no-cache-dir install -r /dev/stdin \
7574 && rm -rf /var/lib/python-venv/lib/python3.*/site-packages/setuptools/_vendor/*.dist-info || true \
7675 && rm -rf /var/lib/syslog-ng-venv/lib/python3.*/site-packages/setuptools/_vendor/*.dist-info || true \
77- && apk del build-base python3-dev libffi-dev
76+ && apk del build-base python3-dev libffi-dev cargo poetry py3-pip py3-poetry-plugin-export py3-virtualenv
77+
78+ # Patch axosyslog dependencies for vulnerabilities
79+ RUN /var/lib/syslog-ng-venv/bin/pip install --no-cache-dir "cryptography>=46.0.6" "requests>=2.33.0"
7880
7981COPY package/lite/etc/syslog-ng.conf.jinja /etc/syslog-ng/syslog-ng.conf.jinja
8082
You can’t perform that action at this time.
0 commit comments