[WIP] Add ceph binaries

Ceph is the most used backend in OpenStack. Adding in the binaries for
Ceph conforms to our policies.

Change-Id: I743a249cb5b716d01fa931ba096d8c8efe3f3c8b
This commit is contained in:
Sam Yaple 2017-03-29 20:17:42 +00:00
parent 62fbcc7d9e
commit 430781b33f
2 changed files with 16 additions and 2 deletions

9
debian/Dockerfile vendored
View File

@ -10,8 +10,15 @@ ARG GIT_REF_REPO=https://git.openstack.org/openstack/${PROJECT}
ARG SCRIPTS=https://github.com/yaodu/common/archive/0.1.2.tar.gz
RUN set -x \
&& echo 'deb http://download.ceph.com/debian-jewel/ jessie main' > /etc/apt/sources.list.d/ceph.list \
&& apt-key adv --fetch-keys 'http://download.ceph.com/keys/release.asc' \
&& apt-get update \
&& apt-get install -y --no-install-recommends python ca-certificates curl \
&& apt-get install -y --no-install-recommends \
ca-certificates \
ceph-common \
curl \
python \
python-rbd \
&& curl -sSL $SCRIPTS | tar xz -C /tmp/ --strip-components=2 \
&& /tmp/download.sh $DOCKER_REPO $DOCKER_TAG $WHEELS \
&& /tmp/install.sh $PROJECT $GIT_REPO $GIT_REF_REPO $GIT_REF \

View File

@ -10,8 +10,15 @@ ARG GIT_REF_REPO=https://git.openstack.org/openstack/${PROJECT}
ARG SCRIPTS=https://github.com/yaodu/common/archive/0.1.2.tar.gz
RUN set -x \
&& echo 'deb http://download.ceph.com/debian-jewel/ xenial main' > /etc/apt/sources.list.d/ceph.list \
&& apt-key adv --fetch-keys 'http://download.ceph.com/keys/release.asc' \
&& apt-get update \
&& apt-get install -y --no-install-recommends python ca-certificates curl \
&& apt-get install -y --no-install-recommends \
ca-certificates \
ceph-common \
curl \
python \
python-rbd \
&& curl -sSL $SCRIPTS | tar xz -C /tmp/ --strip-components=2 \
&& /tmp/download.sh $DOCKER_REPO $DOCKER_TAG $WHEELS \
&& /tmp/install.sh $PROJECT $GIT_REPO $GIT_REF_REPO $GIT_REF \