-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathDockerfile.visqol
27 lines (25 loc) · 1.15 KB
/
Dockerfile.visqol
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
FROM --platform=$TARGETPLATFORM ubuntu:jammy AS visqol-build
LABEL org.opencontainers.image.title webrtcperf-visqol
LABEL org.opencontainers.image.description Visqol build.
LABEL org.opencontainers.image.source https://github.com/vpalmisano/webrtcperf
LABEL org.opencontainers.image.authors Vittorio Palmisano <[email protected]>
RUN \
apt-get update \
&& apt-get install apt-transport-https curl gnupg git -y \
&& curl -fsSL https://bazel.build/bazel-release.pub.gpg | gpg --dearmor >bazel-archive-keyring.gpg \
&& mv bazel-archive-keyring.gpg /usr/share/keyrings \
&& echo "deb [arch=amd64 signed-by=/usr/share/keyrings/bazel-archive-keyring.gpg] https://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list \
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
ninja-build \
python3 \
python3-pip \
build-essential \
bazel-5.3.2 \
python3-numpy
RUN \
mkdir -p /src \
&& cd /src \
&& git clone --depth 1 https://github.com/aadilghani1/visqol
RUN cd /src/visqol \
&& bazel-5.3.2 build :visqol -c opt