Fix ospurge image build

Change-Id: I5af9a4f13d00155fbef57f38241b1a1b5dc88f95
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
This commit is contained in:
Andrii Ostapenko
2021-02-10 15:21:17 -06:00
parent a262c243d2
commit a2d670cf59

View File

@@ -9,12 +9,11 @@ LABEL org.opencontainers.image.vendor='Openstack-Helm Authors'
LABEL org.opencontainers.image.licenses='BSD-3-Clause'
RUN set -xe \
&& apt-get update && apt-get dist-upgrade -y \
&& apt-get install python3 -y \
&& apt-get install python3-pip -y
&& apt-get update \
&& apt-get install curl python3 python3-setuptools -y \
&& curl -sSL https://bootstrap.pypa.io/get-pip.py | python3
RUN pip3 install ospurge \
&& pip3 install python-openstackclient
RUN pip install ospurge python-openstackclient
WORKDIR /tmp
ENTRYPOINT ["/bin/sh", "-c"]