Merge pull request #5474 from naamunds/FixCentosDocker
Fix yum package conflict in Docker image
This commit is contained in:
commit
45727ab4e3
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue