Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: detected dubious ownership in repository at '/workdir', when using the docker version #220

Closed
iamFIREcracker opened this issue Apr 13, 2023 · 0 comments · Fixed by #221

Comments

@iamFIREcracker
Copy link
Contributor

I am using the alias from readme to run mrsk via docker; however, mrsk deploy fails with the following message:

$ mrsk deploy
Acquiring the deploy lock
fatal: detected dubious ownership in repository at '/workdir'
To add an exception for this directory, call:

        git config --global --add safe.directory /workdir
  ERROR (RuntimeError): Can't use commit hash as version, no git repository found in /workdir

Is it worth adding git config --global --add safe.directory /workdir to the Dockerfile, or does anyone have a better solution for this?

iamFIREcracker added a commit to iamFIREcracker/mrsk that referenced this issue Apr 13, 2023
@dhh dhh closed this as completed in #221 Apr 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant