Skip to content
Snippets Groups Projects
Commit f09297bd authored by Wu, Cong Dr (PG/R - Comp Sci & Elec Eng)'s avatar Wu, Cong Dr (PG/R - Comp Sci & Elec Eng)
Browse files

Replace Dockerfile

parent 63749c6d
No related branches found
No related tags found
No related merge requests found
FROM nvidia/cuda:11.2.0-cudnn8-devel-ubuntu20.04
FROM psoto87/pytorch1.13
ENV DEBIAN_FRONTEND=noninteractive
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get -y update && apt-get install -y \
software-properties-common \
build-essential \
......@@ -20,4 +19,43 @@ RUN apt-get -y update && apt-get install -y \
libcanberra-gtk-module \
libcanberra-gtk3-module \
dbus-x11 \
iputils-ping
iputils-ping \
python3-dev \
python3-pip \
python3-setuptools
RUN pip install einops oss2
# some image/media dependencies
RUN apt-get -y update && apt-get install -y \
libjpeg8-dev \
libpng-dev \
libtiff5-dev \
libtiff-dev \
libavcodec-dev \
libavformat-dev \
libswscale-dev \
libdc1394-22-dev \
libxine2-dev \
libavfilter-dev \
libavutil-dev \
libavdevice-dev
RUN apt-get -y update && apt-get install -y ffmpeg
RUN apt-get autoremove -y && \
apt-get autoclean -y && \
apt-get clean -y && \
rm -rf /var/lib/apt/lists/*
RUN git clone --recursive https://github.com/dmlc/decord
RUN cd decord && \
mkdir build && \
cd build && \
cmake .. -DUSE_CUDA=0 -DCMAKE_BUILD_TYPE=Release &&\
make -j2
RUN cd /workspace/decord/python && \
python3 setup.py install --user
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment