21 lines
672 B
Plaintext
21 lines
672 B
Plaintext
|
|
FROM ubuntu:22.04
|
|
|
|
# this is for timezone config
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
ENV TZ=America/Toronto
|
|
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
|
|
|
|
|
#-y is for accepting yes when the system asked us for installing the package
|
|
RUN apt-get update && \
|
|
apt-get install -y build-essential cmake git gdb pkg-config valgrind systemd-coredump python3-opencv libopencv-dev python3-pip python3-dev && \
|
|
apt-get -y clean && apt-get -y autoremove
|
|
|
|
RUN pip3 install jupyter notebook
|
|
|
|
|
|
RUN pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117
|
|
RUN pip3 install matplotlib && pip3 install deskew
|
|
|