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
# SSH wants a user with the `id -u` UID to exist in the container. Mounting this /etc/passwd# file is how we achieve this.## Additionally, we set GIT_SSH_COMMAND to disable strict host key checking, so our build doesn't# interactively prompt us to accept source.raven.engineering's ssh fingerprint.local PASSWD=/tmp/user-passwd
echo"user::$(id -u):$(id -g)::$HOME:">"$PASSWD"
...
--volume "$SSH_AUTH_SOCK:$SSH_AUTH_SOCK" \
--volume "$PASSWD:/etc/passwd" \
--env SSH_AUTH_SOCK="$SSH_AUTH_SOCK" \
--env GIT_SSH_COMMAND="ssh -o StrictHostKeyChecking=no" \
--user "$(id -u)":"$(id -g)" \
The text was updated successfully, but these errors were encountered:
I found a slightly better way
The text was updated successfully, but these errors were encountered: