Dockerfile: build with the RADOS driver
Signed-off-by: Vincent Giersch <vincent.giersch@ovh.net>
This commit is contained in:
parent
3073b1d9e5
commit
c4a05d6c65
1 changed files with 5 additions and 0 deletions
|
@ -1,7 +1,12 @@
|
||||||
FROM golang:1.4
|
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 DISTRIBUTION_DIR /go/src/github.com/docker/distribution
|
||||||
ENV GOPATH $DISTRIBUTION_DIR/Godeps/_workspace:$GOPATH
|
ENV GOPATH $DISTRIBUTION_DIR/Godeps/_workspace:$GOPATH
|
||||||
|
ENV DOCKER_BUILDTAGS include_rados
|
||||||
|
|
||||||
WORKDIR $DISTRIBUTION_DIR
|
WORKDIR $DISTRIBUTION_DIR
|
||||||
COPY . $DISTRIBUTION_DIR
|
COPY . $DISTRIBUTION_DIR
|
||||||
|
|
Loading…
Reference in a new issue