]> git.proxmox.com Git - ceph.git/blob - ceph/src/script/kubejacker/Dockerfile
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / script / kubejacker / Dockerfile
1 from BASEIMAGE
2
3 # Some apt-get commands fail in docker builds because they try
4 # and do interactive prompts
5 ENV TERM linux
6
7 # Baseline rook images may be from before the `rook` ceph-mgr module,
8 # so let's install the dependencies of that
9 # New RGW dependency since luminous: liboath
10 # For the dashboard, if the rook images are pre-Mimic: ython-bcrypt librdmacm
11
12 RUN (grep -q rhel /etc/os-release && ( \
13 yum install -y python-pip && \
14 yum install -y liboath && \
15 yum install -y python-bcrypt librdmacm && \
16 pip install kubernetes==6.0.0 \
17 )) || (grep -q suse /etc/os-release && ( \
18 zypper --non-interactive --gpg-auto-import-keys install --no-recommends --auto-agree-with-licenses --replacefiles --details \
19 python3-kubernetes \
20 liboauth-devel \
21 python-bcrypt \
22 lz4 \
23 librdmacm1 \
24 libopenssl1_1 \
25 ))
26
27 ADD bin.tar.gz /usr/bin/
28 ADD lib.tar.gz /usr/lib64/
29
30 # Assume developer is using default paths (i.e. /usr/local), so
31 # build binaries will be looking for libs there.
32 ADD eclib.tar.gz /usr/local/lib64/ceph/erasure-code/
33 ADD clslib.tar.gz /usr/local/lib64/rados-classes/
34 ADD mgr_plugins.tar.gz /usr/local/lib64/ceph/mgr