forked from lightmetrica/lightmetrica-v3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile.desktop
39 lines (32 loc) · 975 Bytes
/
Dockerfile.desktop
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
FROM dorowu/ubuntu-desktop-lxde-vnc
MAINTAINER Hisanari Otsu <[email protected]>
ENV BUILD_CORES -j
# -----------------------------------------------------------------------------
# Install some packages
RUN apt update && apt install -y \
git \
git-lfs \
software-properties-common \
build-essential \
cmake \
curl \
ninja-build \
python3-dev \
python3-distutils \
python3-pip \
python3-numpy \
doctest-dev \
gdb \
tmux \
vim \
xorg-dev \
libgl1-mesa-dev
RUN pip3 install --upgrade pip
RUN pip install pytest tqdm
RUN pip install imageio && imageio_download_bin freeimage
RUN add-apt-repository ppa:ubuntu-toolchain-r/test
RUN apt update && apt install -y gcc-8 g++-8
RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 60 \
--slave /usr/bin/g++ g++ /usr/bin/g++-8
# -----------------------------------------------------------------------------
WORKDIR /root