Public | Automated Build

Last pushed: 5 months ago
Short Description
Docker container to run git-hours - a tool to estimate time spent on a git repository
Full Description

ymajik/git-hours


Introduction

Dockerfile to create a Docker container image for git-hours.

Git-hours is a tool to estimate time spent on a git repository.

Getting started

Installation

Automated builds of the image are available on Dockerhub and is the recommended method of installation.

docker pull ymajik/git-hours:latest

Alternatively you can build the image yourself.

docker build -t ymajik/git-hours .

Quickstart

Start git-hours in the directory you want to count. It must be in the same directory where the '.git' dir is located:

docker run --rm -v $(pwd):/code ymajik/git-hours

Upgrading

To upgrade to newer releases:

  1. Download the updated Docker image:

    docker pull ymajik/git-hours:latest
    
  2. Remove the container

    docker rm -v git-hours
    
  3. Use the updated image

    docker run --rm -v $(pwd):/code ymajik/git-hours
    
Docker Pull Command
Owner
ymajik
Source Repository