Dockerfile to create an official docker image #720
Merged
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.
The build is at: https://cloud.docker.com/swarm/captn3m0/repository/registry-1.docker.io/captn3m0/rss-bridge/builds/45447e14-23bc-4f35-9ff2-58aa5e7bd69a
Right now there are 2 Docker images on Docker Hub:
The first has 10k+ pulls, and the second just 147. I based mine off Alpine, so it is less than <50MB in total size.
Usage is fairly simple as well:
docker run -p 9090:80 captn3m0/rss-bridge:latest
You can mount a whitelist.txt to configure it as well:
docker run -v whitelist.txt:/app/public/whitelist.txt -p 9090:80 captn3m0/rss-bridge:latest
I can add these details to the README if this is a good idea. This can be easily setup for auto-builds on Docker Cloud with
master->latest
and$tag->$tag
: