fix(docker): refresh vulnerable libevent package

This commit is contained in:
jxxghp
2026-09-12 18:59:44 +08:00
parent 7d1f2eb10e
commit a13a201ae9
2 changed files with 2 additions and 0 deletions

View File

@@ -93,6 +93,7 @@ RUN apt-get update \
supervisor \
postgresql-client-18 \
libchromaprint-tools \
libevent-2.1-7t64 \
libjemalloc2 \
&& dpkg-reconfigure --frontend noninteractive tzdata \
&& ln -s /usr/lib/*-linux-gnu/libjemalloc.so.2 /usr/local/lib/libjemalloc.so \

View File

@@ -130,6 +130,7 @@ def test_base_image_uses_refreshable_tag_and_apt_does_not_upgrade_in_place() ->
"apt-get install -y --no-install-recommends libde265-0"
in dockerfile
)
assert "\n libevent-2.1-7t64 \\\n" in dockerfile
assert "\n openssl \\\n" in dockerfile
assert "\n util-linux \\\n" in dockerfile