-
-
Save k0ste/63d8c3da42c7d627a50bc9a21803ba36 to your computer and use it in GitHub Desktop.
racadm on OSX
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM "quay.io/centos/centos:stream9" | |
RUN dnf -y --setopt="tsflags=nodocs" upgrade && \ | |
dnf -y --setopt="tsflags=nodocs" install wget | |
# https://www.redhat.com/en/blog/rhel-security-sha-1-package-signatures-distrusted-rhel-9 | |
RUN update-crypto-policies --set DEFAULT:SHA1 | |
RUN wget --progress=dot:giga -O bootstrap.cgi \ | |
https://linux.dell.com/repo/hardware/dsu/bootstrap.cgi && \ | |
bash bootstrap.cgi && rm -f bootstrap.cgi | |
RUN dnf -y install dell-system-update -y && \ | |
dnf clean all && dnf -y --setopt="tsflags=nodocs" upgrade && \ | |
dnf clean all | |
RUN dnf -y install srvadmin-idrac dmidecode openssl-devel && \ | |
dnf -y --setopt="tsflags=nodocs" --disablerepo=* \ | |
--enablerepo=dell-system-update_dependent upgrade | |
RUN dnf clean all && dnf -y --setopt="tsflags=nodocs" upgrade && \ | |
dnf clean all && rm -rf "/var/cache/dnf" | |
RUN ln -s /opt/dell/srvadmin/sbin/racadm /usr/bin/racadm |
did Dell remove support for Centos? Can't get this to work for the life of me 👀
It's flawless works on my M2
√ docker % docker build --tag racadm:latest --platform linux/amd64 docker/racadm
[+] Building 470.4s (11/11) FINISHED docker:desktop-linux
=> [internal] load build definition from Dockerfile 0.1s
=> => transferring dockerfile: 791B 0.0s
=> [internal] load metadata for quay.io/centos/centos:stream9 2.1s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [1/7] FROM quay.io/centos/centos:stream9@sha256:63f6ab844b31c90712b04908e8b995d8fc9d2dab8d36b8fe729d8e186a07fd84 0.0s
=> CACHED [2/7] RUN dnf -y --setopt="tsflags=nodocs" upgrade && dnf -y --setopt="tsflags=nodocs" install wget 0.0s
=> [3/7] RUN wget --progress=dot:giga -O bootstrap.cgi https://linux.dell.com/repo/hardware/dsu/bootstrap.cgi && bash bootstrap.c 9.3s
=> [4/7] RUN dnf -y install dell-system-update -y && dnf clean all && dnf -y --setopt="tsflags=nodocs" upgrade && dnf clean all 228.9s
=> [5/7] RUN dnf -y install srvadmin-idrac dmidecode openssl-devel && dnf -y --setopt="tsflags=nodocs" --disablerepo=* --enable 145.2s
=> [6/7] RUN dnf clean all && dnf -y --setopt="tsflags=nodocs" upgrade && dnf clean all && rm -rf "/var/cache/dnf" 83.9s
=> [7/7] RUN ln -s /opt/dell/srvadmin/sbin/racadm /usr/bin/racadm 0.1s
=> exporting to image 0.5s
=> => exporting layers 0.5s
=> => writing image sha256:38c99a041c1a5a875b7d82c3d57601766b757bcbe824b070f3503761bb134f68 0.0s
=> => naming to docker.io/library/racadm:latest 0.0s
View build details: docker-desktop://dashboard/build/desktop-linux/desktop-linux/hh44plvpxz6qod2uxaw68lzv5
What's Next?
View a summary of image vulnerabilities and recommendations → docker scout quickview
√ docker % docker run --platform linux/amd64 --rm --privileged racadm racadm version
RACADM version 11.0.0.0
Copyright (c) 2003-2022 Dell, Inc.
All Rights Reserved
it's finally working!
I believe the only difference was that I had to build it using your command, using --platform linux/amd64
although I had specified that in the Dockerfile previously. thanks a whole lot.
Thank you! this worked for me. But....seems to be an error in line 6
RUN RUN update-crypto-policies --set DEFAULT:SHA1
should be just a single "RUN"
RUN update-crypto-policies --set DEFAULT:SHA1
Thank you! this worked for me. But....seems to be an error in line 6
RUN RUN update-crypto-policies --set DEFAULT:SHA1
should be just a single "RUN"
RUN update-crypto-policies --set DEFAULT:SHA1
Definitely
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
did Dell remove support for Centos? Can't get this to work for the life of me 👀