mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-06-24 00:39:48 +08:00
17 lines
760 B
Docker
17 lines
760 B
Docker
FROM centos:centos7
|
|
|
|
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"
|
|
|
|
ENV TZ Asia/Shanghai
|
|
|
|
RUN yum install -y libaio
|
|
RUN rpm --import https://download.ceph.com/keys/release.asc
|
|
RUN yum install -y https://download.ceph.com/rpm-luminous/el7/noarch/ceph-release-1-1.el7.noarch.rpm
|
|
RUN yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
|
|
RUN yum install -y libcephfs-devel librbd-devel librados-devel
|
|
RUN yum install -y https://iso.yunion.cn/yumrepo-2.10/rpms/packages/yunion-qemu-2.12.1-2.12.1-1.el7.centos.x86_64.rpm https://iso.yunion.cn/yumrepo-2.10/rpms/packages/spice-0.13.3-1.el7.centos.x86_64.rpm
|
|
RUN mkdir -p /opt/yunion/bin
|
|
|
|
ADD ./_output/bin/glance /opt/yunion/bin/glance
|
|
ADD ./_output/bin/torrent /opt/yunion/bin/torrent
|