slbotbm commented on code in PR #3554: URL: https://github.com/apache/iggy/pull/3554#discussion_r3493263432
########## bdd/cpp/Dockerfile: ########## Review Comment: Let's change this to a 3-stage build: the first stage uses `gcr.io/bazel-public/bazel:9.1.1` and builds `bdd_wire_server` using bazel, the second stage uses `ruby:3.3-slim-trixie` and installs the rube deps using bundler, and the third step also uses `ruby:3.3-slim-trixie`, copying the ruby deps + `bdd_wire_server` from previous stages and runs the test. This reduces the final image from ~10 gb to 330 mb on my machine -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
