-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
36 lines (28 loc) · 1.41 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
FROM registry.redhat.io/rhosp-rhel8/openstack-cinder-volume:16.2.4-10
MAINTAINER Infinidat Host Team <[email protected]>
# Required Labels
LABEL name="rhosp16/openstack-cinder-volume-infinidat-plugin" \
maintainer="[email protected]" \
vendor="Infinidat" \
version="1.0" \
release="15" \
summary="Red Hat OpenStack Platform 16.2 cinder-volume Infinidat Plugin" \
description="Red Hat OpenStack Platform 16.2 cinder-volume Infinidat Plugin"
USER root
# Installing driver dependencies
RUN dnf copr enable -y deiter/infinisdk && \
dnf install -y python3-infinisdk
# These RPMs (or slightly updated versions) will ship with our next OSP-16.2.5 maintenance release.
COPY openstack-cinder-15.6.1-2.20230117204940.9f9194d.el8osttrunk.noarch.rpm \
python3-cinder-15.6.1-2.20230117204940.9f9194d.el8osttrunk.noarch.rpm .
# Install new cinder RPMs
RUN dnf localinstall -y \
openstack-cinder-15.6.1-2.20230117204940.9f9194d.el8osttrunk.noarch.rpm \
python3-cinder-15.6.1-2.20230117204940.9f9194d.el8osttrunk.noarch.rpm && \
rm -vf openstack-cinder-15.6.1-2.20230117204940.9f9194d.el8osttrunk.noarch.rpm \
python3-cinder-15.6.1-2.20230117204940.9f9194d.el8osttrunk.noarch.rpm && \
dnf clean all
# Add required license as text file in Liceses directory (GPL, MIT, APACHE, Partner End User Agreement, etc)
RUN mkdir /licenses
COPY licensing.txt /licenses
USER cinder