Skip to content

Dockerfile #4

Description

@devsecur

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/

Activity

  1. hannob commented on Dec 12, 2017

    @hannob
    Contributor

    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?

  2. devsecur commented on Dec 13, 2017

    @devsecur
    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>

  3. ilyaglow commented on Dec 13, 2017

    @ilyaglow

    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

  4. devsecur commented on Dec 13, 2017

    @devsecur
    Author

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

  5. hannob commented on Dec 13, 2017

    @hannob
    Contributor

    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?

  6. hannob commented on Dec 13, 2017

    @hannob
    Contributor

    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.

  7. draeath commented on Dec 13, 2017

    @draeath

    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.

  8. devsecur commented on Dec 14, 2017

    @devsecur
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions