Netflix / flamescope

FlameScope is a visualization tool for exploring different time ranges as Flame Graphs.
Apache License 2.0
3k stars 168 forks source link

Dockerfile #11

Closed steven-aerts closed 6 years ago

steven-aerts commented 6 years ago

Small Dockerfile to package flamescope for docker. Flamescope can be started with:

docker build -t flamescope . docker run -p 5000:5000 -v /local/stacks/dir:/stacks:ro flamescope

Made it for me personally but might also be interesting for others. Can also form the base to release an official image to the docker hub.

philippslang commented 6 years ago

arguments/environment variables to run.py would be nice to have (over sed)

spiermar commented 6 years ago

@plang85 I have it on my list to add CLI overrides to the config options. Likely merge this PR and make the changes once the other change is ready.

spiermar commented 6 years ago

Merged. Made a couple modifications. Using the Alpine image (711mb to 85mb) and copying the files instead of git checkout.