
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>
27 lines
968 B
Docker
27 lines
968 B
Docker
ARG FROM=ubuntu:16.04
|
|
FROM ${FROM}
|
|
|
|
RUN set -ex ;\
|
|
export DEBIAN_FRONTEND=noninteractive ;\
|
|
apt-get update ;\
|
|
apt-get upgrade -y ;\
|
|
apt-get install netbase -y ;\
|
|
apt-get install --no-install-recommends -y \
|
|
python3-dev \
|
|
build-essential \
|
|
python3-pip \
|
|
libssl-dev \
|
|
git ;\
|
|
git clone https://git.openstack.org/openstack/tempest ;\
|
|
git clone https://git.openstack.org/openstack/cinder-tempest-plugin ;\
|
|
git clone https://git.openstack.org/openstack/heat-tempest-plugin ;\
|
|
git clone https://git.openstack.org/openstack/keystone-tempest-plugin ;\
|
|
git clone https://git.openstack.org/openstack/neutron-tempest-plugin ;\
|
|
pip3 install -U setuptools ;\
|
|
pip3 install wheel ;\
|
|
pip3 install -e tempest/ \
|
|
cinder-tempest-plugin/ \
|
|
heat-tempest-plugin/ \
|
|
keystone-tempest-plugin/ \
|
|
neutron-tempest-plugin/ ;\
|