Skip to content

Commit 6b13f09

Browse files
authored
Added public key retrieval (#603)
1 parent 5d7d677 commit 6b13f09

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

config/buildspec.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ phases:
2626
install:
2727
commands:
2828
- . config/change_branch.sh
29+
# The following fails on some CPU instances but succeeds on GPU, where we need it
30+
- su && (apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub || true)
2931
- su && apt-get update
3032
- apt-get install sudo -qq -o=Dpkg::Use-Pty=0 # silence output: https://askubuntu.com/a/668859/724247
3133
- sudo apt-get update -qq -o=Dpkg::Use-Pty=0

config/buildspec_tensorflow_2_7.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ phases:
3030
install:
3131
commands:
3232
- . config/change_branch.sh
33+
# The following fails on some CPU instances but succeeds on GPU, where we need it
34+
- su && (apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub || true)
3335
- su && apt-get update
3436
- apt-get install sudo -qq -o=Dpkg::Use-Pty=0 # silence output: https://askubuntu.com/a/668859/724247
3537
- sudo apt-get update -qq -o=Dpkg::Use-Pty=0

0 commit comments

Comments
 (0)