зеркало из https://github.com/Azure/ipam.git
Added step to disable Subscription Manager for YUM during RHEL Docker build
This commit is contained in:
Родитель
2a976e80c9
Коммит
b37c6dbffb
|
@ -40,6 +40,9 @@ WORKDIR /tmp
|
|||
# Switch to Root User
|
||||
USER root
|
||||
|
||||
# Disable Subscription Manager YUM Plugin
|
||||
RUN sed -i s/enabled=./enabled=0/g /etc/yum/pluginconf.d/subscription-manager.conf
|
||||
|
||||
# Install OpenSSH and set the password for root to "Docker!"
|
||||
RUN yum update -y
|
||||
RUN yum install -qq openssh-server -y \
|
||||
|
|
Загрузка…
Ссылка в новой задаче