RUN --mount=type=ssh
This mount type allows the build container to access SSH keys via SSH agents,
with support for passphrases.
You can also specify a path to*.pemfile on the host directly instead of$SSH_AUTH_SOCK.
However, pem files with passphrases are not supported.