Skip to content

Conversation

@yurikus
Copy link

@yurikus yurikus commented Jul 18, 2023

I needed to run things off of images that don't have powershell in them and are unable to easily eval the DRONE_SCRIPT as docker ENTRYPOINT. I added wincmd shell impl and extended engine.go to inject DRONE_SCRIPT into the created container as /drone/drone-build-script.cmd.

Disclaimer: it works for me, modify for your needs

yurikus added 2 commits July 14, 2023 00:54
Only copy tar on windows and env.SHELL=cmd.exe
@CLAassistant
Copy link

CLAassistant commented Jul 18, 2023

CLA assistant check
All committers have signed the CLA.

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 this pull request may close these issues.

2 participants