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

Dockerfile #4

Open
devsecur opened this issue Dec 12, 2017 · 8 comments
Open

Dockerfile #4

devsecur opened this issue Dec 12, 2017 · 8 comments

Comments

@devsecur
Copy link

It would be great, to have a Dockerfile for easy deployment and testing. I have created an example image on docker hub with an open Dockerfile in github:

https://hub.docker.com/r/devsecur/robot-attack/

@hannob
Copy link
Contributor

hannob commented Dec 12, 2017

To be honest I have no clue how to create or use a dockerfile.
Can I just link what you made and you'll keep it up to date?

@devsecur
Copy link
Author

Sure. Feel free to copy or reference the Dockerfile I made. I would let my repository stay on github, so the image can be build automaticly on docker hub.

You can use the image by installing Docker and then run

docker run devsecur/robot-attack python robot-detect.py <HOST>

@ilyaglow
Copy link

If anyone interested in the alpine based minimal docker, here's my try:
https://github.com/ilyaglow/robot-detect/blob/alpine-based-docker/Dockerfile

Usage example:
docker run -it --rm ilyaglow/robot-detect google.com

@devsecur
Copy link
Author

Ah perfect, thank you. Your image is quite cleaner - I would use this as official Dockerfile for this project.

@hannob
Copy link
Contributor

hannob commented Dec 13, 2017

ok, so it's just this file that is needed? can you make a pull request and add a sentence to the README.md how to run it?

@hannob
Copy link
Contributor

hannob commented Dec 13, 2017

also I'll try to create a pip package, it's just something that I pushed down my todo list in light of more important tasks.

@draeath
Copy link

draeath commented Dec 13, 2017

It may be best to use the python:3.6-alpine image on dockerhub, instead of tsutomu7/scientific-python from "some random user?" Probably a smaller footprint, as well.

@devsecur
Copy link
Author

I think ilyaglow already provide an alpine based image:

https://github.com/ilyaglow/robot-detect/blob/alpine-based-docker/Dockerfile

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

4 participants