Skip to content

Commit c75f0f7

Browse files
committed
Move to Debian 12 (bookworm)
1 parent d401fd6 commit c75f0f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

2.4/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM debian:bullseye-slim
1+
FROM debian:bookworm-slim
22

33
# add our user and group first to make sure their IDs get assigned consistently, regardless of whatever dependencies get added
44
#RUN groupadd -r www-data && useradd -r --create-home -g www-data www-data
@@ -218,7 +218,7 @@ RUN set -eux; \
218218
apt-mark auto '.*' > /dev/null; \
219219
[ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; \
220220
find /usr/local -type f -executable -exec ldd '{}' ';' \
221-
| awk '/=>/ { print $(NF-1) }' \
221+
| awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }' \
222222
| sort -u \
223223
| xargs -r dpkg-query --search \
224224
| cut -d: -f1 \

0 commit comments

Comments
 (0)