-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
34 lines (26 loc) · 720 Bytes
/
Dockerfile
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
FROM ubuntu:latest
# Update Base System
RUN apt-get update
RUN apt-get install -y \
git \
make \
g++ \
qt5-qmake \
qt5-default \
tar \
ffmpeg
# Install Fake X11 display to connect with VNC
RUN apt-get install -y \
x11vnc \
xvfb
RUN mkdir ~/.vnc
RUN x11vnc -storepasswd 1234 ~/.vnc/passwd
# Install project
WORKDIR /root
# RUN git clone https://[email protected]/jeremy-lr/etude-de-cas.git
# RUN qmake -makefile GerardRoto.pro
# RUN make
# ./GerardRoto
# docker build -t project/gerardroto ./
# docker run --name dev -it --rm -v /home/jbardon/Documents/GerardRoto:/root -p 5900 project/gerardroto x11vnc -forever -usepw -create
# docker inspect dev | grep IPAddress