Closed gastaldi closed 4 years ago
this will make it not work in openshift or other kubernetes secured envs ;/
Are you running Github actions in openshift?
The same container was used for standalone docker, GitHub actions and in jo from Kamesh.
Guess it's not viable.
Yeah, better have a separate Dockerfile for anything different than a Github action :)
At least until Microsoft fixes this
@maxandersen another solution is to create a GithubAction.Dockerfile
with the content from this PR and reference it here: https://github.com/jbangdev/jbang-action/blob/master/action.yml#L21
That will be much much slower for user as GitHub will end up building it very often. They don't cache these well.
I guess the alternative option is to make two docker container - make one dependent on the other.
Whatever makes the error goes away, feel free to close this PR if necessary :)
It looks like the Dockerfile is synch'ed from https://github.com/jbangdev/jbang/tree/master/src/main/scripts/container and you might have a solution already, so I'll close this PR ;)
From the Github Actions documentation: