-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
31 lines (28 loc) · 946 Bytes
/
Dockerfile
File metadata and controls
31 lines (28 loc) · 946 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
FROM ubuntu:20.04
ENV DEBIAN_FRONTEND noninteractive
ENV PATH /opt/miniconda3/bin:$PATH
ENV CPLUS_INCLUDE_PATH /opt/miniconda3/include
RUN apt-get update && apt-get install -y apt-file build-essential \
checkinstall \
cmake \
pkg-config \
yasm \
git \
gfortran \
libjpeg8-dev libpng-dev \
libtiff-dev \
libavcodec-dev libavformat-dev libswscale-dev libdc1394-22-dev \
libxine2-dev libv4l-dev \
liblmdb-dev libleveldb-dev libsnappy-dev \
mesa-utils libgl1-mesa-glx x11-apps eog \
vim tmux curl wget
RUN curl -O https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
RUN bash Miniconda3-latest-Linux-x86_64.sh -b -p /opt/miniconda3
RUN conda update -y -n base -c defaults conda
RUN conda install python=3.8.0
RUN pip install numpy
RUN pip install opencv-python
RUN apt-get -y install sudo
RUN apt-get -y install neovim
RUN chmod -R 777 /opt/miniconda3
RUN apt-get install xclip