openstack-helm-images/tempest/Dockerfile.opensuse_15
Tin Lam 8d8c3e7158 Change image to use python 3
This patch set updates the Dockerfile to use python3 and pip3 instead
for all ubuntu images.

Change-Id: I20a6f1a28b2adadd66d42907bbec977c28f5a044
Signed-off-by: Tin Lam <tlam@omegaprime.dev>
2019-10-28 21:11:55 +00:00

21 lines
858 B
Docker

FROM opensuse/leap:15.0
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