Packtpub Free Learning book of the day
Packtpub has an amazing initiative: every day it publishes a free technology ebook.
The downside is that you have to remember to login and add it to your library.
Not anymore (if you put this in crontab).
How to use this image
This image has 2 mandatory environment variables for PacktPub login:
Additionally, if you want to receive a notification on pushbullet (how to get an access token is outside the scope of this document), you can set:
Basic Example (just get the ebook)
docker run --rm -e PP_EMAILemail@example.com -e PP_PASSWORD=myP455 elisiano/packtpub-free-learning
Example with pushbullet
docker run --rm -e PP_EMAILfirstname.lastname@example.org -e PP_PASSWORD=myP455 -e PB_EMAILemail@example.com PB_TOKEN=myT0k3n elisiano/packtpub-free-learning
I am not the original author of the script, I just parametrized it and dockerized it.
Want to improve this? Pull requests are very welcome! http://github.com/elisiano/docker-packtpub-free-learning