FROM golang:1.7.3-alpine MAINTAINER Gaetan de Villele RUN apk update RUN apk add git COPY src /go/src WORKDIR /go/src/validator # when running the container, MOUNT docs repo in /docs CMD ["go", "test"]