Files
openstack-helm-images/tempest/Dockerfile.opensuse_15
Pete Birley 5046975869 Images: Update all images to allow base image over-rides
This PS updates all dockerfiles to allow base image over-rides as
required by many consumers of OSH.

Change-Id: I53daac9c1ec4707628565abc912116d8997eba16
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
2020-08-11 04:50:26 +00:00

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