Merge pull request #5474 from naamunds/FixCentosDocker

Fix yum package conflict in Docker image
This commit is contained in:
Livar 2017-01-26 22:01:54 -08:00 committed by GitHub
commit 45727ab4e3

View file

@ -6,6 +6,10 @@
# Dockerfile that creates a container suitable to build dotnet-cli
FROM centos:7.1.1503
# Swap the "fakesystemd" package with the real "systemd" package, because fakesystemd conflicts with openssl-devel.
# The CentOS Docker image uses fakesystemd instead of systemd to reduce disk space.
RUN yum -q -y swap -- remove fakesystemd -- install systemd systemd-libs
RUN yum -q -y install deltarpm
RUN yum -q -y install epel-release
# RUN yum -y update