-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ci] speed up the linux builds (#1745)
* speed up the build * remove gpu docker * add boost ppa * remove duplicate installs * Update test.sh * conda install mkl qt * addd windows * Update .vsts-ci.yml * fix gpu boost
- Loading branch information
Showing
6 changed files
with
101 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
FROM microsoft/vsts-agent:ubuntu-14.04 | ||
|
||
# Install basic command-line utilities | ||
RUN apt-get update \ | ||
&& apt-get install -y --no-install-recommends \ | ||
curl \ | ||
locales \ | ||
sudo \ | ||
unzip \ | ||
wget \ | ||
zip \ | ||
graphviz \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# Setup the locale | ||
ENV LANG en_US.UTF-8 | ||
ENV LC_ALL $LANG | ||
RUN locale-gen $LANG \ | ||
&& update-locale | ||
|
||
# Install essential build tools | ||
RUN apt-get update \ | ||
&& apt-get install -y --no-install-recommends \ | ||
build-essential \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# Install CMake | ||
RUN curl -sL https://cmake.org/files/v3.12/cmake-3.12.0-Linux-x86_64.sh -o cmake.sh \ | ||
&& chmod +x cmake.sh \ | ||
&& ./cmake.sh --prefix=/usr/local --exclude-subdir \ | ||
&& rm cmake.sh | ||
|
||
# Install Miniconda | ||
RUN curl -sL https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -o miniconda.sh \ | ||
&& chmod +x miniconda.sh \ | ||
&& ./miniconda.sh -b -p /usr/local/miniconda \ | ||
&& rm miniconda.sh \ | ||
&& chmod -R 777 /usr/local/miniconda \ | ||
&& /usr/local/miniconda/bin/conda install python=3 -q -y \ | ||
&& /usr/local/miniconda/bin/conda install mkl qt -q -y \ | ||
&& /usr/local/miniconda/bin/conda clean -a -y | ||
ENV CONDA=/usr/local/miniconda | ||
|
||
# Clean system | ||
RUN apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* \ | ||
&& rm -rf /etc/apt/sources.list.d/* \ | ||
&& rm -rf /tmp/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters