Created
May 7, 2020 05:37
-
-
Save jakenotjacob/c6b2b3648bab2f575eeadb8dfea11214 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
##Dockerfile | |
FROM centos:7 | |
RUN yum update -y && yum install -y wget perl openssl-devel dmidecode | |
RUN wget -q -O - http://linux.dell.com/repo/hardware/latest/bootstrap.cgi | bash | |
RUN yum install -y srvadmin-idracadm7 | |
RUN cp /opt/dell/srvadmin/bin/idracadm7 /usr/local/bin/racadm | |
##Build via... (run inside somedir/Dockerfile) | |
docker build --tag racadm:latest . | |
##Add in bashrc/zshrc whatever | |
alias racadm="docker run --rm -it racadm:latest racadm" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment