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

Official Dockerhub image #697

Open
pzelnip opened this issue Mar 13, 2021 · 4 comments
Open

Official Dockerhub image #697

pzelnip opened this issue Mar 13, 2021 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@pzelnip
Copy link

pzelnip commented Mar 13, 2021

Is your feature request related to a problem? Please describe.

For CI pipelines it can be convenient to run a linting/checking tool from a Docker image. For example, Pyup provides their safety tool as a Docker image that you can run in a CI pipeline with:

cat requirements.txt | docker run -i --rm pyupio/safety safety check --stdin

This is useful so that instead of ensuring that safety is installed on a CI worker, you just pull the image and run.

It would be great to have a similar image for Bandit. There's a handful of ones I see in Dockerhub that have been created by random people and haven't been updated in some time, so it'd be great to have an official supported image that's kept up to date.

Describe the solution you'd like

A Docker image in Dockerhub that contains Bandit, tagged with the version that is installed in the image (latest always being the most recently released version of Bandit)

Describe alternatives you've considered

Currently I build my own image and install bandit into it, but it'd be nice to not have to maintain that and have an official image that can be used by the community at large.

Additional context

N/A

@pzelnip pzelnip added the enhancement New feature or request label Mar 13, 2021
@pzelnip
Copy link
Author

pzelnip commented Mar 14, 2021

For those looking for something in the interim before this issue is addressed, In the absence of an official PyCQA endorsed image, this one works: https://github.com/cytopia/docker-bandit

@lukehinds
Copy link
Member

Good idea @pzelnip , I will look into this.

@lukehinds lukehinds self-assigned this Mar 27, 2021
@dlorenc
Copy link

dlorenc commented Mar 27, 2021

Let me know if you want help @lukehinds!

@ericwb
Copy link
Member

ericwb commented Jan 24, 2024

Started getting a repo and org setup on dockerhub:
https://hub.docker.com/repository/docker/pycqa/bandit/general

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants