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 am trying to use actions/checkout in the coqorg/coq:dev container, and am running into #956. None of the workarounds there work.
I have no control over the set up of the docker file, so I cannot change the default userid (1000) to match the actions uid (1001)
I cannot pass --user root because the root account on the docker image is broken in login mode, docker run -it --user root coqorg/coq:dev /bin/sh says [ERROR] Opam has not been initialised, please run `opam init' and quits immediately. In any case, future steps need to be logged in as the coq (1000) user, not root, because opam is only set up for that user.
I have not found a way to change the host uid to 1000 (is there a way to tell github actions to do this?)
I'd rather not pin to actions/checkout@v3.0.2, seems like bad practice and might open me to security issues
Please add some option to actions/checkout so that it works with non-default uid containers. I'm willing to give it the uid as an input option if needed.
The text was updated successfully, but these errors were encountered:
I am trying to use actions/checkout in the coqorg/coq:dev container, and am running into #956. None of the workarounds there work.
--user root
because the root account on the docker image is broken in login mode,docker run -it --user root coqorg/coq:dev /bin/sh
says[ERROR] Opam has not been initialised, please run `opam init'
and quits immediately. In any case, future steps need to be logged in as the coq (1000) user, not root, because opam is only set up for that user.actions/checkout@v3.0.2
, seems like bad practice and might open me to security issuesPlease add some option to actions/checkout so that it works with non-default uid containers. I'm willing to give it the uid as an input option if needed.
The text was updated successfully, but these errors were encountered: