mirror of
https://github.com/vale981/ray
synced 2025-03-04 17:41:43 -05:00
[ci] Fix GPU docker builds (#24336)
NVIDIA Docker builds are currently broken, e.g.: https://buildkite.com/ray-project/ray-builders-branch/builds/7239#e9dea1d6-7dea-4323-801c-b7efe917be03 Following this workaround: https://forums.developer.nvidia.com/t/invalid-public-key-for-cuda-apt-repository/212901/11 to hopefully fix this for now.
This commit is contained in:
parent
dd87e61808
commit
6282090401
2 changed files with 6 additions and 0 deletions
|
@ -27,6 +27,9 @@ ENV DOCKER_CERT_PATH=/certs/client
|
|||
ENV TRAVIS_COMMIT=${BUILDKITE_COMMIT}
|
||||
ENV BUILDKITE_BAZEL_CACHE_URL=${REMOTE_CACHE_URL}
|
||||
|
||||
RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub
|
||||
RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/7fa2af80.pub
|
||||
|
||||
RUN apt-get update -qq && apt-get upgrade -qq
|
||||
RUN apt-get install -y -qq \
|
||||
curl python-is-python3 git build-essential \
|
||||
|
|
|
@ -11,6 +11,9 @@ COPY requirements_tune.txt ./requirements_tune.txt
|
|||
COPY requirements_train.txt ./
|
||||
COPY requirements_upstream.txt ./
|
||||
|
||||
RUN sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub
|
||||
RUN sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/7fa2af80.pub
|
||||
|
||||
RUN sudo apt-get update \
|
||||
&& sudo apt-get install -y gcc \
|
||||
cmake \
|
||||
|
|
Loading…
Add table
Reference in a new issue