-
-
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 |
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
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.