-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
43 lines (39 loc) · 1.12 KB
/
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
34
35
36
37
38
39
40
41
42
43
FROM ubuntu:18.04 as build
RUN apt-get update && \
apt-get install -y software-properties-common wget
RUN wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | apt-key add - && \
apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic main'
RUN apt-get update && apt-get install -y build-essential \
python3-pip \
cmake \
libpulse-dev \
libva-dev \
libvdpau-dev \
libltdl-dev \
libcap-dev \
libgbm-dev \
libjack-dev \
libaudio-dev \
libavcodec-dev \
libavdevice-dev \
libavfilter-dev \
libavformat-dev \
libavresample-dev \
libavutil-dev \
libswresample-dev \
libswscale-dev \
git
RUN apt install -y ffmpeg
COPY . /workspace/
WORKDIR /workspace
#RUN mkdir build && \
# cd build && \
# cmake .. && \
# cmake --build . --target install
RUN python3 -m pip install pip --upgrade && python3 -m pip install pytest tox
RUN python3 setup.py install
RUN python3 -m pytest
RUN python3 -c "import platform; platform.system()"
#TODO: find out if this can build
FROM sonarqube:community
#COPY sonar.properties /opt/sonarqube/conf/