Skip to content

Commit d52aa49

Browse files
committed
build: setup the Containerfile
Signed-off-by: Paul Bastide <[email protected]>
1 parent fd05c71 commit d52aa49

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

build/Containerfile-build

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.4
2+
3+
LABEL io.k8s.display-name="IBM Power DRA Driver"
4+
LABEL name="IBM Power DRA Driver"
5+
LABEL vendor="IBM"
6+
LABEL version="1.0.0"
7+
LABEL release="N/A"
8+
LABEL summary="Automate the management and monitoring of addition of specific Power devices to a Pod."
9+
LABEL description="Automate the management and monitoring of addition of specific Power devices to a Pod."
10+
11+
RUN microdnf -y update && microdnf install util-linux findutils -y && microdnf clean all
12+
WORKDIR /
13+
14+
COPY ./build/entrypoint.sh /
15+
COPY bin/* /opt/power-dev-plugin/bin/
16+
17+
ENTRYPOINT ["/entrypoint.sh"]

build/entrypoint.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
3+
set -e
4+
exec /opt/power-dra-driver/bin/power-dra-driver $@

0 commit comments

Comments
 (0)