-
Notifications
You must be signed in to change notification settings - Fork 343
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
499 additions
and
361 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
ARG BASE_IMAGE=ubuntu:20.04 | ||
FROM ${BASE_IMAGE} | ||
ARG BASE_IMAGE | ||
|
||
LABEL maintainer="CML <[email protected]>" | ||
|
||
|
@@ -10,6 +11,20 @@ RUN echo 'APT::Get::Assume-Yes "true";' > /etc/apt/apt.conf.d/90assumeyes | |
# CONFIGURE SHELL | ||
SHELL ["/bin/bash", "-c"] | ||
|
||
# FIX NVIDIA APT GPG KEYS (https://github.com/NVIDIA/cuda-repo-management/issues/1#issuecomment-1111490201) 🤬 | ||
RUN grep nvidia <<< ${BASE_IMAGE} \ | ||
&& for list in cuda nvidia-ml; do mv /etc/apt/sources.list.d/$list.list{,.backup}; done \ | ||
&& apt-get update \ | ||
&& apt-get install --yes gpg \ | ||
&& apt-key del 7fa2af80 \ | ||
&& apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/3bf863cc.pub \ | ||
&& apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1404/x86_64/7fa2af80.pub \ | ||
&& apt-get purge --yes gpg \ | ||
&& apt-get clean \ | ||
&& rm --recursive --force /var/lib/apt/lists/* \ | ||
&& for list in cuda nvidia-ml; do mv /etc/apt/sources.list.d/$list.list{.backup,}; done \ | ||
|| true | ||
|
||
# INSTALL CORE DEPENDENCIES | ||
RUN apt-get update \ | ||
&& apt-get install --no-install-recommends \ | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,15 +10,19 @@ describe('CML e2e', () => { | |
Fixes specific CI setups | ||
Options: | ||
--help Show help [boolean] | ||
--version Show version number [boolean] | ||
--log Maximum log level | ||
--help Show help [boolean] | ||
--version Show version number [boolean] | ||
--log Maximum log level | ||
[string] [choices: \\"error\\", \\"warn\\", \\"info\\", \\"debug\\"] [default: \\"info\\"] | ||
--repo Specifies the repo to be used. If not specified is extracted from | ||
the CI ENV. [string] | ||
--token Personal access token to be used. If not specified in extracted | ||
from ENV REPO_TOKEN. [string] | ||
--driver If not specify it infers it from the ENV. | ||
--unshallow Fetch as much as possible, converting a shallow repository to a | ||
complete one. [boolean] | ||
--user-email Set Git user email. [string] [default: \\"[email protected]\\"] | ||
--user-name Set Git user name. [string] [default: \\"Olivaw[bot]\\"] | ||
--repo Set repository to be used. If unspecified, inferred from the | ||
environment. [string] | ||
--token Personal access token to be used. If unspecified, inferred from | ||
the environment. [string] | ||
--driver If unspecified, inferred from the environment. | ||
[string] [choices: \\"github\\", \\"gitlab\\", \\"bitbucket\\"]" | ||
`); | ||
}); | ||
|
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
Oops, something went wrong.
d214a27
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test Comment