-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDockerfile
More file actions
43 lines (35 loc) · 1.3 KB
/
Dockerfile
File metadata and controls
43 lines (35 loc) · 1.3 KB
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
40
41
42
43
#################################################
# Dockerfile to build openlase / lasershark supporting ubuntu
#
FROM ubuntu
MAINTAINER Justin Hawkins
RUN apt-get update
RUN apt-get -y install git
RUN mkdir openlase
#install openlase
RUN apt-get -y install cmake gcc build-essential libjack-jackd2-dev python libqt4-dev libavcodec-dev
RUN apt-get -y install libswscale-dev freeglut3-dev libasound2-dev libncurses5-dev yasm python-dev
RUN apt-get -y install cython libxmu-dev libxi-dev
#install lasershark
RUN apt-get -y install libusb-1.0-0-dev jackd2 libjack-jackd2-dev gcc build-essential
RUN git clone https://github.com/macpod/lasershark_hostapp.git
WORKDIR /lasershark_hostapp
RUN make
RUN ls
RUN echo ATTRS{idVendor}=="1fc9", ATTRS{idProduct}=="04d8", MODE="0660", GROUP="plugdev" > /etc/udev/rules.d/45-lasershark.rules
#Clone openlase repository
RUN git clone https://github.com/marcan/openlase.git
WORKDIR openlase
RUN mkdir build
WORKDIR build
RUN perl -i.bak -p -e's/add_subdirectory\(qplayvid\)//g' ../tools/CMakeLists.txt
RUN cat ../tools/CMakeLists.txt
RUN cmake ..
RUN make
RUN apt-get -y install qjackctl
#install VNC
# Install vnc, xvfb in order to create a 'fake' display and firefox
run apt-get install -y x11vnc xvfb
run mkdir /.vnc
# Setup a password
run x11vnc -storepasswd 1234 ~/.vnc/passwd