blob: 55f4ce5211f37f993ef945ef2568c89a3805b508 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#!/bin/sh
set -e
apt-get update
# Install dependency without interaction.
env DEBIAN_FRONTEND=noninteractive \
TZ=America/New_York \
apt-get install -y \
tzdata
# Install development tools.
apt-get install -y \
g++ \
curl \
git
# Reduce to minimal subset of libraries by removing static libraries
mkdir /tmp/cuda_required
mv /usr/local/cuda/lib64/libcuda* /tmp/cuda_required/
rm -f /usr/local/cuda/lib64/*static.a
mv /tmp/cuda_required/libcuda* /usr/local/cuda/lib64/
rmdir /tmp/cuda_required
apt-get clean
|