Skip to content

Latest commit

 

History

History
51 lines (33 loc) · 1.54 KB

README.md

File metadata and controls

51 lines (33 loc) · 1.54 KB

Docker Gource Image

Docker container that has the capability to generate Gource videos in a headless environment.

Customizable Environment Variables

Let me know if you would like more to be customizeable.

  • RES (default: 1920x1080)
  • DEPTH (default: 24)
  • TITLE (default: "")

Base Docker Image

Requirements:

Usage

Build or Download Image

Download automated build from public Docker Hub Registry:

docker pull twelvenights/gource

Alternatively, you can build an image from the Dockerfile:

git clone git@github.com:twelvenights/docker-gource.git
cd docker-gource
docker build -t twelvenights/gource .

Running

docker run --rm --name gource \
           -v REPO_ROOT:/repoRoot \
           -v RESULTS_FOLDER:/results \
           -v AVATARS_FOLDER:/avatars \
           --env TITLE="My overridden title text" \
           twelvenights/gource

If you want repository usernames to be replaced with images then put images to avatars folder. Name for the avatar image must match the username (e.g taivokasper.png).

Example: Automatically download Github repository

docker run --rm --name gource \
           -v $HOME/Videos/gource:/results \
           --env TITLE="Docker Evolution" \
           twelvenights/gource docker/docker