-
Notifications
You must be signed in to change notification settings - Fork 10
/
Dockerfile
45 lines (39 loc) · 1.01 KB
/
Dockerfile
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# orbyter-base-sys-dl
FROM --platform=linux/amd64 nvidia/cuda:11.8.0-devel-ubuntu22.04
# Most commands below should match orbyter-base-sys/Dockerfile
WORKDIR /build
ENV LC_ALL=C.UTF-8 \
LANG=C.UTF-8 \
TZ=America/Los_Angeles
# The time zone avoids prompts during cmake install
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && \
echo $TZ > /etc/timezone && \
apt-get update -qq && \
apt-get install -qqy --no-install-recommends \
build-essential \
g++ \
gnupg \
libssl-dev \
libffi-dev \
vim \
emacs \
screen \
git \
wget \
curl \
cmake \
htop \
rsync
# Install python
RUN apt install software-properties-common -y && \
add-apt-repository ppa:deadsnakes/ppa && \
apt install python3.11 -y && \
apt install python3-pip -y && \
apt install python-is-python3 -y
# Cleanup
RUN apt-get autoremove -y && apt-get clean -y && \
rm -rf /var/lib/apt/lists/* && \
rm -rf ~/.cache && \
rm -rf /build/*
WORKDIR /
RUN rm -rf /build