-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
manage: add Dockerfile and run guide
Signed-off-by: Ric Li <[email protected]>
- Loading branch information
Showing
2 changed files
with
56 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FROM ubuntu:22.04 | ||
|
||
LABEL maintainer="[email protected]" | ||
|
||
ENV PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib64/pkgconfig | ||
|
||
WORKDIR /root | ||
|
||
RUN apt-get update -y && \ | ||
apt-get install -y git gcc pkg-config make m4 clang llvm zlib1g-dev libelf-dev libpcap-dev libcap-ng-dev meson ethtool && \ | ||
git clone --recurse-submodules https://github.com/xdp-project/xdp-tools.git && \ | ||
# Build and install libbpf, libxdp and xdp-tools | ||
cd xdp-tools && ./configure && make && make install && cd lib/libbpf/src && make install && \ | ||
cd /root && git clone https://github.com/OpenVisualCloud/Media-Transport-Library.git && \ | ||
cd Media-Transport-Library/manager && meson setup build && meson compile -C build && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
WORKDIR /root/Media-Transport-Library/manager/build | ||
|
||
ENTRYPOINT ["./MtlManager"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters