Skip to content

Commit 7863068

Browse files
authored
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.
1 parent 800096d commit 7863068

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/docker/ubuntu24.04-deb.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ ARG artifact_url=""
44
ADD ${artifact_url} /tmp
55
ADD node_modules /usr/share/mongodb-crypt-library-version/node_modules
66
RUN apt-get update
7-
RUN yes | unminimize
87
RUN apt-get install -y man-db
8+
RUN rm -f /usr/bin/man /etc/dpkg/dpkg.cfg.d/excludes && ln -s /usr/bin/man.REAL /usr/bin/man # unminimize
99
RUN apt-get install -y /tmp/*mongosh*.deb
1010
RUN /usr/bin/mongosh --build-info
1111
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-'

0 commit comments

Comments
 (0)