marscher / dockerfiles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dockerfiles

This is a collection of dockerfiles which are running in my kubernetes cluster.

$ make help
A smart Makefile for your dockerfiles

Read all Dockerfile within the current directory and generate dependendies automatically.

make all              ; build all images
make nginx            ; build nginx image
make push all         ; build and push all images
make push nginx       ; build and push nginx image
make run nginx        ; build and run nginx image (for testing)
make exec nginx       ; build and start interactive shell in nginx image (for debugging)
make checkrebuild all ; build and check if image has update availables (using apk or apt-get)
                        and rebuild with --no-cache is image has updates

You can chain actions, typically in CI environment you want make checkrebuild push all
which rebuild and push only images having updates availables.

About

License:MIT License


Languages

Language:Shell 39.0%Language:Dockerfile 34.5%Language:Python 11.3%Language:Makefile 4.7%Language:HTML 4.1%Language:FreeMarker 2.9%Language:JavaScript 2.5%Language:Sieve 1.1%