22 lines
875 B
Docker
22 lines
875 B
Docker
ARG FROM=opensuse/leap:15.0
|
|
FROM ${FROM}
|
|
LABEL maintainer="cloud-devel@suse.com"
|
|
|
|
ARG VERSION=Master
|
|
ARG KEYFILE=Cloud:OpenStack:Master-openSUSE_Leap_15.0.gpgkey
|
|
|
|
COPY ${KEYFILE} /tmp/
|
|
RUN rpm --import /tmp/${KEYFILE}
|
|
RUN rm /tmp/${KEYFILE}
|
|
|
|
RUN set -ex ;\
|
|
zypper --non-interactive addrepo http://download.opensuse.org/repositories/Cloud:/OpenStack:/${VERSION}/openSUSE_Leap_15.0/ openstack-${VERSION} ;\
|
|
zypper --non-interactive refresh ;\
|
|
zypper --non-interactive up -y ;\
|
|
zypper --non-interactive install -y openstack-tempest \
|
|
python3-cinder-tempest-plugin \
|
|
python3-heat-tempest-plugin \
|
|
python3-keystone-tempest-plugin \
|
|
python3-neutron-tempest-plugin ;\
|
|
zypper --non-interactive clean -a
|