Commit graph

45 commits

Author SHA1 Message Date
Eric Erhardt
916a19c493 Add support for Fedora 24, OpenSUSE 42.1 and Ubuntu 16.10 2017-02-22 15:13:02 -06:00
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
Davis Goodin
366ac11702 Update Fedora's NSS to avoid NuGet restore timeout 2016-10-28 15:47:10 -05:00
Jérémie Galarneau
adde6255a9 Removed workaround for https://github.com/docker/docker/issues/20818
This workaround is not needed since the release of Docker 1.11.0 which addresses the underlying issue.
2016-10-18 19:51:43 -04:00
Bryan Thornbury
482a3377ca add deb deps to ubuntu 16 dockerfile 2016-06-14 10:56:08 -07:00
Bryan Thornbury
f75ee876d8 Enable ubuntu16 deb creation and publishing 2016-06-14 02:32:39 -07:00
Eric Erhardt
d4d9653e05 Port @ellismg's debian docker file fix to CLI. 2016-06-03 13:58:33 -05:00
Livar Cunha
bb034b325e Also updating the ubuntu16.04 dockerfile to remove the llvm dependencies 2016-06-02 14:47:35 -07:00
Livar Cunha
cc6c22c01f Fix an error in the fedora23 dockerfile where we added findutils after the && when invoking dnf. That caused findutils to be invoked instead of installed. 2016-06-02 14:39:33 -07:00
Bryan Thornbury
06047ee413 Update only the ubuntu.14.04 dockerfile from https://github.com/dotnet/core-setup/pull/58 2016-06-01 18:06:37 -07:00
Livar Cunha
7652335195 Addressing code review comments and adding opensuse 13.2 2016-05-31 15:15:57 -07:00
Livar Cunha
7963018d3d Small changes that I noticed when diffing the files 2016-05-31 15:15:08 -07:00
Livar Cunha
e634fedae8 Adding Fedora 23 2016-05-31 15:15:08 -07:00
Livar Cunha
84d1b60ffe Adding docker files, modifying scripts and code to handle ubuntu 16.04 2016-05-31 15:15:08 -07:00
MichaelSimons
e10e8c9cac Initial changes to support building on Debian 2016-04-12 18:44:54 -05: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
53dd5f4a23 Address more PR feedback
- Add libssl-dev dependency to DockerFile, because the package upgrade test still depend on this. It can be removed once a newer package without libssl-dev dependency is uploaded.
- Check pre-reqs in the package script.
2016-03-09 20:15:06 +00: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
Bryan
ade5479196 Update CoreCLR & Corefx dependencies based on ldd method.
Use a hardcoded list for ubuntu and slight refactoring for cleaner targets
code.
2016-02-24 16:59:26 -08:00
Bryan Thornbury
6d8b622451 Add Conditional Target capabilities to the build scripts
Make Attribute properties immutable

PR Feedback, bugfixes

PR Feedback
2016-02-24 16:55:11 -08:00
Andrew Stanton-Nurse
d524732bbb working on build scripts 2016-02-12 15:26:35 -08:00
Bryan
7011f9e604 update everything to DOTNET_CLI_VERSION
Some package_tool fixes
2016-01-13 02:22:53 -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
Piotr Puszkiewicz
e91db7dce1 Eliminate dead code and most relative paths 2015-12-29 02:34:10 -08:00
Piotr Puszkiewicz
4b217db9c0 Clean up build scripts
Decompose into self-contained granular components
Provide reasonable defaults for cross cutting concerns, allowing for independent execution of steps
Start unifying Windows/Bash architecture

fix Bash CI scripts

dockerbuild.sh _common.sh path

Add missing restore-packages.sh

Copy/paste issues

Quote $SOURCE
fix .gitignore

PR Feedback

Merge in @SridarMS's work to avoid redownloading DNX

enabling build of dotnet-build

merge in @SridharMS's CentOS changes

Enable building FSC

enable restoring specific subdirectories

Fix dnx version check

Add missed dependency

Fix pathing to tests

Match Linux build version to Windows, fixing linux tests as a side effect.

workaround for coreclr#2215

fix pathing issue

disable building in docker

BUILD_IN_DOCKER was set, somehow...

fix headers
2015-12-29 01:59:02 -08:00
Sridhar Periyasamy
67ad2a8fab Scripts changes to accomodate centos builds.
Does not contain changes to actually build CLI on centos.
2015-12-15 18:15:31 -08:00
Bryan Thornbury
c2d04d51b1 Changes to propagate errors in package build. 2015-12-02 22:11:31 +00:00
Sridhar Periyasamy
4c29fcbb03 Update Dockerfile
Create home folder for the user. Required by azure CLI.
2015-12-01 11:23:13 -08:00
Bryan Thornbury
b122190cd8 Set Docker Internal UID to Host UID, Remove Postbuild step
These changes will use docker's new Dockerfile Arguments to
pass the Host User ID to the docker container at build time.
This allows the docker container to set it's internal user
to match that of the host. When using shared volumes between
the host and container, this prevents files created in the
container from being owned by root.

This will solve our problem of needing a cleanup step after
every ubuntu CI run.
2015-11-25 00:33:53 +00:00
PiotrP
e839b4debb Update Copyright headers in all source files. 2015-11-16 19:47:43 -08:00
Bryan
ee7b242d29 Remove set -e, this can easily cause the machine to get into an inconsistent state 2015-11-16 15:54:22 -08:00
Bryan
d2cb2ce76a Remove docker container cleanup. This should be handled in dockerbuild now. 2015-11-16 15:53:05 -08:00
Bryan
1a9d44a985 Fix Docker Postbuild Imports 2015-11-16 15:39:22 -08:00
Andrew Stanton-Nurse
4cc15b1246 restructure the output layout
also reorganize the scripts folder
2015-11-16 09:44:00 -08:00
Sridhar Periyasamy
e31dae6bee Add '-y' to prevent prompts during installation. 2015-11-10 17:49:33 -08:00
Sridhar Periyasamy
0878879bc8 Fix type in Dockerfile and set the UPLOAD_URL variable to the correct location. 2015-11-10 17:28:46 -08:00
Sridhar Periyasamy
b34d7772e3 Install azure cli in the docker container
We need azure cli to publish atrifacts to the azure blob storage.
2015-11-10 17:20:18 -08:00
Andrew Stanton-Nurse
bf0b0c93cb this should fix cmake on Ubuntu 14.04 2015-11-03 10:08:59 -08:00
Andrew Stanton-Nurse
84312846ec speed up cmake docker build 2015-10-30 15:47:11 -07:00
Andrew Stanton-Nurse
e70a169b28 Add a shared runtime aware host
And use it in dotnet-compile
2015-10-30 15:03:29 -07:00
Andrew Stanton-Nurse
d7c73e8b29 clean up some build script stuff 2015-10-29 19:42:02 -07:00
Andrew Stanton-Nurse
11a3bf3076 clean up dependency on DNX 2015-10-29 19:41:32 -07:00
Bryan Thornbury
2074d1bbf5 build and fetch results 2015-10-21 23:41:38 -07:00
Andrew Stanton-Nurse
ca4d160fc3 implement bootstrapping without DNX
* fix up dnvm2 port
* produce packages ready for CI to publish
* remove dependency on DNX for stage0 (still needed for restore)
2015-10-20 17:36:25 -07:00