Add ipa-downloader-image

Change-Id: I5302a362509fac88f6b86921161dc8e0bdb72b19
Signed-off-by: Pete Birley <pete@port.direct>
This commit is contained in:
saibattina 2020-03-31 14:35:05 -05:00 committed by Pete Birley
parent 465ba75d67
commit 250e01b208

View File

@ -0,0 +1,16 @@
FROM ubuntu:18.04 as downloader
ARG IPA_BASEURI=https://images.rdoproject.org/master/rdo_trunk/current-tripleo/ironic-python-agent.tar
RUN set -ex ;\
apt-get update ;\
apt-get install curl -y
RUN set -ex ;\
curl -sSL -o /tmp/ironic-python-agent.tar $IPA_BASEURI ;\
mkdir -p /tmp/ironic-python-agent ;\
tar -xf /tmp/ironic-python-agent.tar -C /tmp/ironic-python-agent
FROM ubuntu:18.04 as dist
COPY --from=downloader /tmp/ironic-python-agent /