mirror of
https://github.com/optim-enterprises-bv/openstack-helm-images.git
synced 2025-12-31 02:40:42 +00:00
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>
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
|