mirror of
https://github.com/StrawberryMaster/wayback-machine-downloader.git
synced 2025-12-29 16:16:06 +00:00
Merge pull request #49 from TheMonkeyz/docker
Add support for docker. Can be built straight on docker hub.
This commit is contained in:
5
Dockerfile
Normal file
5
Dockerfile
Normal file
@@ -0,0 +1,5 @@
|
||||
FROM ruby:2.1
|
||||
COPY . /build
|
||||
RUN cd build && \
|
||||
bundle install
|
||||
ENTRYPOINT [ "/usr/local/bundle/bin/wayback_machine_downloader" ]
|
||||
10
README.md
10
README.md
@@ -40,6 +40,16 @@ Or if you want to download every images without anything else:
|
||||
|
||||
wayback_machine_downloader http://example.com --only "/\.(gif|jpg|jpeg)$/i"
|
||||
|
||||
## Using the Docker images
|
||||
|
||||
All the options should work the same, just run it with this command instead of installing the gem:
|
||||
|
||||
docker run --rm -it -v $PWD/websites:/websites hartator/wayback-machine-downloader
|
||||
|
||||
You can use git branches as image tags to test new features on Docker Hub automated builds:
|
||||
|
||||
docker run --rm -it -v $PWD/websites:/websites yourname/yourrepo:yourfeature
|
||||
|
||||
## Contributing
|
||||
|
||||
Contributions are welcome! Just submit a pull request via GitHub.
|
||||
|
||||
Reference in New Issue
Block a user