You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to clone private repo accessible via ssh. buildx build --ssh=default --add-host=${GIT_SERVER}:${SERVER_IP} --build-arg=GIT_SERVER=$GIT_SERVER --build-arg=SSH_PORT=$SSH_PORT --file Dockerfile . works, but I don't see an option to specify a custom ssh port. Is this possible?
Currently I copy the ssh config to the container--everything in the config is already provided by the command above except the custom ssh port.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I need to clone private repo accessible via ssh.
buildx build --ssh=default --add-host=${GIT_SERVER}:${SERVER_IP} --build-arg=GIT_SERVER=$GIT_SERVER --build-arg=SSH_PORT=$SSH_PORT --file Dockerfile .
works, but I don't see an option to specify a custom ssh port. Is this possible?Currently I copy the ssh config to the container--everything in the config is already provided by the command above except the custom ssh port.
Beta Was this translation helpful? Give feedback.
All reactions