Commit graph

5 commits

Author SHA1 Message Date
Nate Amundson
c3e6994728 Fix yum package conflict in Docker image
When running the CLI builds on the new build agents, the CentOS
build failed with the following error:

2017-01-26T20:39:30.0800810Z Step 4 : RUN yum -q -y install unzip libunwind gettext libcurl-devel openssl-devel zlib libicu-devel
2017-01-26T20:39:30.3020500Z  ---> Running in 97affb106685
2017-01-26T20:39:40.3872390Z Error: libselinux conflicts with fakesystemd-1-17.el7.centos.noarch

Swapping the the "fakesystemd" package with the real "systemd" package
fixed the issue, which was recommended in http://stackoverflow.com/a/36632668.

This issue hasn't been seen on the official builds because the build
agents in that pool have the Docker image cached, and they are using an
older version of the centos:7.1.1503 image which appears not to have
this issue.
2017-01-26 12:47:08 -08:00
Sridhar Periyasamy
c85cf24677 Fix docker build breaks in centos. 2016-03-09 17:28:22 -08:00
Sridhar Periyasamy
56b1b829cf Fix centos build break when building using Docker
`glibc-devel` to enable corehost compliation.
2016-03-09 15:51:57 -08:00
Sridhar Periyasamy
b99e40bfab Address PR feedback and remove Azure CLI from dockerfiles
We no longer need Azure CLI since publish is now via C#.
2016-03-08 18:46:54 -08:00
Sridhar Periyasamy
5155aa61d7 Enable docker support for centos builds
- Added an option '--buildindocker <osname>' to build.sh
- Fixed bug which caused packaging to be skipped by default.
- Fixed bug which caused tarballs to be generated twice.
- Fixed bug to propagate build params(like debug, nopackage) to docker build.
2016-01-07 18:50:00 -08:00