Public | Automated Build

Last pushed: 3 years ago
Short Description
Short description is empty for this repo.
Full Description


Minify your png files.

Install Go

pngcrunch is written in Go.

If you know already know Go, then you can stop reading because you already know how this

If you don't know Go, the rest of this README is for you. You should

  • install Go

  • export your GOPATH

  • learn how Go works; i.e., go get, go build, go test, and go install

Go works really hard to make your like easy, including the following...

Get it

$ go get

Test it


$ go test


$ cd $GOPATH/src/ && go test

Build it

in a temporary directory

$ cd $(mktemp -d) && go build


$ cd $GOPATH/src/ && go build

Install it

to your PATH, assuming you already

export PATH=$PATH:$GOPATH/bin

somewhere, you can

$ go install

Use it

Instructions forthcoming, I promise.

Dockerize it

The Dockerfile for pngcrunch inherits from the
docker hub official repo for golang. After

$ go get

you can

$ docker build -t pngcrunch-golang-app $GOPATH/src/


$ docker run -it --rm pngcrunch-golang-app go test -v

just as you would normally.

Docker Pull Command
Source Repository