[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:
parent
62fbcc7d9e
commit
430781b33f
|
@ -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 \
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue