We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 87c1b28 + ee2e7c5 commit 01a282aCopy full SHA for 01a282a
resources/ironic-client/Dockerfile
@@ -1,13 +1,14 @@
1
-FROM quay.io/centos/centos:stream9
+ARG BASE_IMAGE=docker.io/library/python:3.9-slim-bookworm
2
+
3
+FROM $BASE_IMAGE
4
5
# Help people find the actual baremetal command
6
COPY scripts/openstack /usr/bin/openstack
7
-RUN dnf install -y python3 python3-pip genisoimage && \
- pip install python-ironicclient --prefix /usr --no-cache-dir && \
8
- chmod +x /usr/bin/openstack && \
9
- dnf update -y && \
10
- dnf clean all && \
11
- rm -rf /var/cache/{yum,dnf}/*
+RUN apt-get update && \
+ apt-get install -y genisoimage && \
+ apt-get clean && \
+ pip3 install --prefix /usr --no-cache-dir python-ironicclient && \
12
+ chmod +x /usr/bin/openstack
13
14
ENTRYPOINT ["/usr/bin/baremetal"]
0 commit comments