From c4a05d6c654d4e16a661064b181f9862e97132ed Mon Sep 17 00:00:00 2001 From: Vincent Giersch Date: Mon, 1 Jun 2015 10:15:53 +0000 Subject: [PATCH] Dockerfile: build with the RADOS driver Signed-off-by: Vincent Giersch --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index 24d187223..266c78634 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,12 @@ FROM golang:1.4 +RUN apt-get update && \ + apt-get install -y librados-dev && \ + rm -rf /var/lib/apt/lists/* + ENV DISTRIBUTION_DIR /go/src/github.com/docker/distribution ENV GOPATH $DISTRIBUTION_DIR/Godeps/_workspace:$GOPATH +ENV DOCKER_BUILDTAGS include_rados WORKDIR $DISTRIBUTION_DIR COPY . $DISTRIBUTION_DIR