-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
46 lines (28 loc) · 796 Bytes
/
Copy pathDockerfile
File metadata and controls
46 lines (28 loc) · 796 Bytes
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
46
FROM ubuntu:22.04
WORKDIR /home
# Install software
RUN apt-get update
RUN apt-get install -y wget
RUN apt-get install -y unzip
RUN apt-get install -y cmake
RUN apt-get install -y software-properties-common
RUN add-apt-repository -y ppa:openjdk-r/ppa
RUN apt-get update
RUN apt-get install -y openjdk-11-jdk
RUN apt-get install -y python3-pip
# Install PIP packages
RUN pip3 install sympy
RUN pip install pyjnius
RUN pip install matplotlib
RUN pip3 install datetime
RUN pip3 install pandas
RUN pip3 install numpy
RUN pip3 install tqdm
RUN pip3 install termcolor
RUN pip3 install psutil
RUN pip install torch==1.11.0 torchvision==0.12.0 torchaudio==0.11.0 --extra-index-url https://download.pytorch.org/whl/cpu
# Get files
ADD . /home/
# SETUP
ENV JAVAC=javac
ENV PYTHON3=python3