OpenToAllCTF / OTA-Challenge-Bot

:robot: Slack bot for challenge management in large teams :robot:
MIT License
60 stars 13 forks source link

Dockerization needs fixing to work with the solve tracker #137

Open Grazfather opened 6 years ago

Grazfather commented 6 years ago

Solve tracker has a setting that points to the git repo where solves are to be committed. This directory would need to be included in the docker image (and should probably be a volume so that changes are seen outside of the container)

Kileak commented 6 years ago

@Grazfather Does this still needs "fixing" or isn't your solution of mounting it as a volume fine?

Grazfather commented 6 years ago

Mounting as a volume works. Technically we could add a clone command to the Dockerfile, the risk there is that we make commits, don't push, and then when the image goes down we lose the commit.

If we keep using a volume, we may want to use docker-compose to start up the container with the volume mounted. Let me think of this when I get back home.

r00tdaemon commented 5 years ago

You can use staticman for solve tracker as done in #179