From 78630687a0b3632a7174d343075b2aa8bf56f662 Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Mon, 7 Oct 2024 12:23:15 +0200 Subject: [PATCH] fix(scripts): account for `unminimize` being gone from ubuntu24.04 docker img (#2185) The `unminimize` script is no longer part of Ubuntu 24.04 docker images, so we need to manually emulate its effects in order to be able to test the man page installation. --- scripts/docker/ubuntu24.04-deb.Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/docker/ubuntu24.04-deb.Dockerfile b/scripts/docker/ubuntu24.04-deb.Dockerfile index 312350b8a..1ef2a08b3 100644 --- a/scripts/docker/ubuntu24.04-deb.Dockerfile +++ b/scripts/docker/ubuntu24.04-deb.Dockerfile @@ -4,8 +4,8 @@ ARG artifact_url="" ADD ${artifact_url} /tmp ADD node_modules /usr/share/mongodb-crypt-library-version/node_modules RUN apt-get update -RUN yes | unminimize RUN apt-get install -y man-db +RUN rm -f /usr/bin/man /etc/dpkg/dpkg.cfg.d/excludes && ln -s /usr/bin/man.REAL /usr/bin/man # unminimize RUN apt-get install -y /tmp/*mongosh*.deb RUN /usr/bin/mongosh --build-info RUN env MONGOSH_RUN_NODE_SCRIPT=1 mongosh /usr/share/mongodb-crypt-library-version/node_modules/.bin/mongodb-crypt-library-version /usr/lib/mongosh_crypt_v1.so | grep -Eq '^mongo_(crypt|csfle)_v1-'