FROM centos:centos8 #MAINTAINER Jose De la Rosa "https://github.com/jose-delarosa" #LABEL org.opencontainers.image.authors="Jose De la Rosa https://github.com/jose-delarosa" ARG http_proxy ARG https_proxy ARG PASS # Environment variables ENV PATH $PATH:/opt/dell/srvadmin/bin:/opt/dell/srvadmin/sbin ENV USER root #ENV PASS password # Do overall update and install missing packages needed for OpenManage #RUN yum -y update RUN yum -y install gcc wget perl passwd which tar net-snmp initscripts # Set login credentials RUN echo "$USER:$PASS" | chpasswd # Add OMSA repo #RUN wget -q -O - https://linux.dell.com/repo/hardware/latest/bootstrap.cgi |sed -e '/^IMPORT_GPG_CONFIRMATION="na"/s/na/yes/' |bash RUN wget -q -O - http://linux.dell.com/repo/hardware/DSU_20.02.00/bootstrap.cgi |sed -e '/^IMPORT_GPG_CONFIRMATION="na"/s/na/yes/' |bash # Let's "install all", however we can select specific components instead RUN yum -y install srvadmin-all && yum clean all # Restart application to ensure a clean start CMD /usr/sbin/snmpd && srvadmin-services.sh restart #/etc/init.d/dataeng start #/etc/init.d/dsm_om_connsvc start #/etc/init.d/dsm_om_shrsvc start