250e01b208
Change-Id: I5302a362509fac88f6b86921161dc8e0bdb72b19 Signed-off-by: Pete Birley <pete@port.direct>
17 lines
468 B
Docker
17 lines
468 B
Docker
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 /
|