Skip to content

Commit

Permalink
Give dependabot permissions to .ssh directory
Browse files Browse the repository at this point in the history
- Add chown command after docker run and before docker exec.
  • Loading branch information
Athmika-HS committed Mar 27, 2022
1 parent 8d0d9cf commit b56ca32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/docker-execute
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ docker run -dit \
"$IMAGE_NAME" "${CONTAINER_ARGS[@]}"

#docker exec ${CONTAINER_NAME} bash -c 'echo $SSH_AUTH_SOCK'

chown dependabot:dependabot /home/dependabot/dependabot-core/.ssh
#docker exec ${CONTAINER_NAME} bash -c 'chmod dependabot:dependabot /home/dependabot/dependabot-core/tmp';
docker exec ${CONTAINER_NAME} bash -c 'ls -ald /home/dependabot/dependabot-core/tmp;
ls -ald /home/dependabot/dependabot-core;
Expand Down

0 comments on commit b56ca32

Please sign in to comment.