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

Running nancy in Azure DevOps requires bash to be present in the image #253

Open
mrooding opened this issue Oct 28, 2021 · 4 comments
Open

Comments

@mrooding
Copy link

Thanks for creating an issue! Please fill out this form so we can be
sure to have all the information we need, and to minimize back and forth.

  • What are you trying to do?

Run nancy's official docker image in an Azure DevOps pipeline

  • How could we solve this issue? (Not knowing is okay!)

ADO requires that any container that you run as part of the pipeline have bash installed in the container. Do you want to add bash to be part of the original image? If not, I'll have to extend the image and maintain my own version

Thank you!

  • Anything else?

cc @bhamail / @DarthHater

@DarthHater
Copy link
Member

bash specifically or just any type of sh?

@mrooding
Copy link
Author

Unfortunately, bash specifically. It's only a requirement if you use the container as a container resource. I was able to bypass the requirement by running go list .. | docker ... in a normal ADO shell step though

@DarthHater
Copy link
Member

I think it might be preferable to create a new docker image variant type, rather than add it to the current alpine image. Would that be ok?

@mrooding
Copy link
Author

mrooding commented Nov 3, 2021

That would be a perfect solution 👍

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

No branches or pull requests

2 participants