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

docker build + add vendors choices as env var #23

Merged
merged 3 commits into from
May 25, 2021
Merged

docker build + add vendors choices as env var #23

merged 3 commits into from
May 25, 2021

Conversation

k0rventen
Copy link
Contributor

Hi,

This PR adds a Dockerfile making possible to run the project as a container.
It also enables the selection of vendors through an VENDORS env var, with the same behavior as the --vendors arg, so that everything is configurable through env var.

Regarding the documentation, I think a new section could be added, but I wanted to check if you were ok with the feature beforehand.

thx!

@ndom91
Copy link
Contributor

ndom91 commented May 17, 2021

Looks good to me! I'm sure @minitriga will approve as well. This is great for people who (gasp! haha) may not have a local installation of python.

@k0rventen
Copy link
Contributor Author

Thx @ndom91 ! I've added the docker specific documentation.

Would it be possible to also host this image on a container registry ?
I'm willing to setup the CI required.

@minitriga minitriga merged commit e8ac3e7 into netbox-community:master May 25, 2021
@minitriga
Copy link
Collaborator

If you want to setup the CI required with Github actions then we can get something hosted yes.

@minitriga
Copy link
Collaborator

Sorry $dayjob has me very busy working on other things right now so I try to look when i can. Thanks for all the good work @k0rventen and @ndom91

@k0rventen k0rventen mentioned this pull request May 25, 2021
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

Successfully merging this pull request may close these issues.

3 participants