Add ipa-downloader-image
Change-Id: I5302a362509fac88f6b86921161dc8e0bdb72b19 Signed-off-by: Pete Birley <pete@port.direct>
This commit is contained in:
parent
465ba75d67
commit
250e01b208
16
ipa-downloader-image/Dockerfile
Normal file
16
ipa-downloader-image/Dockerfile
Normal 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 /
|
Loading…
x
Reference in New Issue
Block a user