Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time

Building the TwitterGraph Docker Image

A part of this example project is a Docker image for the TwitterGraph Python script, run as a cron job to check Twitter stats. The image can be pulled from Dockerhub: docker pull clcollins/twittergraph:1.0, or it can be built using Source to Image.

Building with Source to Image

The clcollins/twittergraph:1.0 Docker image is built using the Centos Python 3.6 S2I image, which contains the scripts necessary to setup Python apps during the build. (Read more about Source to Image for details).

To build your own image with Source to Image, install Source to Image and run s2i build https://github.com/clcollins/twittergraph centos/python-36-centos7 twittergraph:1.0.