The metrics_impl option has been dropped in the related commit as prometheus is now the default in open5gs. With newer meson, unknown options are treated as errors (used to be warnings before).
Use $DOCKER_ARGS in the docker run call to kernel-test/prepare.sh, which builds the initramfs. I use this to make a local build of osmo-ggsn + depends available in the docker container in /usr/local with the ttcn3.sh script in osmo-dev.git.