Skip to content

mojotech/docker-images

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-images

This repo contains scripts to build some useful docker base images. The are available for use at quay.io.

Images

A debian wheezy base image with the mojotech apt repository key.

The debian base image plus node.js, npm, and the build tools necessary to install most npm packages (even those requiring native extensions).

The debian base image plus java and leiningen.

The debian base image plus java and gradle.

The debian base image plus python, pip, and virtualenv.

The clojure image with the riemann service installed.

The clojure image with the datomic service installed.

Building

Use make <name> to build an image. For example, to build the clojure image:

make clojure

Dependencies are expressed in the Makefile, so running the above command would also build the debian image.

It is also possible to specify the TAG and REGISTRY of the resulting image:

make REGISTRY=quay.io/mojotech TAG=$(git rev-parse --short HEAD) clojure

This would override the default REGISTRY (mojotech) and TAG (latest).

Pushing

To push all the images once built, use make push. To push just a single image, use make push-<name>. The REGISTRY and TAG values can also be overridden:

make REGISTRY=quay.io/mojotech TAG=$(git rev-parse --short HEAD) push-clojure