
This reverts commit 552abb2a4668184de6652292443b9cfca0ed97ea. Change-Id: Ia7b4951e589365a5ecf3b57836a355763b981368
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 /
|