First, you have to get hubot-skype all up and running on your own linux box. Why? Because you have to do a few manual steps to run Skype headless with hubot. Follow the instructions on the hubot website and on the hubot-skype website.
- Click the EULA on the first run
- When you run hubot-skype, it opens a Skype prompt to ask you if it's okay to allow api access. Click "yes".
- Since you did all that, you might as well login to Skype and ask it to remember your password. Now it will just run without user intervention.
Now that you've done all that fun stuff, configure your hubot.
- Copy your $HOME/.Skype directory to this directory.
- Edit your Dockerfile to set HUBOT_NAME to whatever you want your hubot to respond to.
- Edit hubot-scripts.json to your heart's content.
Finally, docker build .
and docker run <containerid>
. Hooray, it all
works!