I need a Docker image based on Ubuntu 22.04 with my own app in it that I wrote in Rust.
Unfortunately, when I try to build my app using the official Rust image, I get a binary that does not run on Ubuntu 22.04 (apparently, then my app wants libssl 1.1, but Ubuntu 22.04 has libssl 3). I also tried to install Rust inside Docker on Ubuntu 22.04, but that needs to happen non-interactively, and Rustup is interactive.
What is the recommended way? Thanks!