Add Dockerfile with Graphviz binary support#7
Open
matiasAS wants to merge 1 commit intoolivierb46:mainfrom
Open
Add Dockerfile with Graphviz binary support#7matiasAS wants to merge 1 commit intoolivierb46:mainfrom
matiasAS wants to merge 1 commit intoolivierb46:mainfrom
Conversation
Contributor
Author
|
@olivierb46 adding a usage example for the Docker image in case it is useful. As a usage example, the container can be executed like this: docker run --rm \
-e PFS_BASE_URL=<PFS_BASE_URL> \
-e PFS_TOKEN=<PFS_TOKEN> \
-v $(pwd)/results:/app/results \
pyfrc2gThis runs PyFRC2G inside the container without requiring Graphviz or other system dependencies to be installed on the host. The Environment variables are passed at runtime to avoid hardcoding sensitive credentials. |
Owner
|
hi @matiasAS , Thank you very much for your contribution. I tested it yesterday (without environment variables for now) and have a few comments:
Thanks again ;) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds a Dockerfile to run PyFRC2G in a container with the Graphviz
dotbinary installed, avoiding host system dependencies.
No code changes included.