1 Star 0 Fork 7

swordfish17365/owt-docker

forked from winlinvip/owt-docker 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 1.67 KB
一键复制 编辑 原始数据 按行查看 历史
winlinvip 提交于 2020-03-09 15:19 . Update
# OWT development environment.
# @see https://github.com/open-webrtc-toolkit/owt-server/blob/master/docker/Dockerfile
# @see https://github.com/open-webrtc-toolkit/owt-server#how-to-build-release-package
# Ubuntu 18(Bionic Beaver)
FROM ubuntu:bionic
# For system.
RUN apt-get update
RUN apt-get install -y aptitude tree gdb net-tools inetutils-ping vim lsof \
ca-certificates git lsb-release mongodb nodejs npm sudo wget
RUN npm install -g grunt-cli node-gyp
# For owt-client js demo.
ADD owt-client-javascript-4.3.tar.gz /tmp/git/owt-docker
RUN cd /tmp/git/owt-docker/owt-client-javascript-4.3/scripts && npm install && grunt
ENV CLIENT_SAMPLE_PATH=/tmp/git/owt-docker/owt-client-javascript-4.3/dist/samples/conference
# For Intel Media SDK?
#ADD MediaStack-18.4.0.tar.gz /tmp/git/owt-docker
#RUN cd /tmp/git/owt-docker/MediaStack && ./install_media.sh
#ENV MFX_HOME=/opt/intel/mediasdk
# This is needed to patch licode?
#RUN git config --global user.email "you@example.com" && \
# git config --global user.name "Your Name"
# @see https://blog.piasy.com/2019/04/14/OWT-Server-Quick-Start/index.html
ADD owt-server-4.3.tar.gz /tmp/git/owt-docker
WORKDIR /tmp/git/owt-docker/owt-server-4.3
COPY owt-server-4.3/build/libdeps/*.bz2 ./build/libdeps/
RUN ./scripts/installDepsUnattended.sh
RUN echo "Build product" && ./scripts/build.js -t all --check
RUN echo "Pack product" && ./scripts/pack.js -t all --install-module --sample-path $CLIENT_SAMPLE_PATH
#RUN echo "Build debug" && ./scripts/build.js -t all --check --debug
#RUN echo "Pack debug" && ./scripts/pack.js -t all --debug --addon-debug --install-module --sample-path $CLIENT_SAMPLE_PATH
WORKDIR /tmp/git/owt-docker/owt-server-4.3
CMD ["pwd"]
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/poucc/owt-docker.git
git@gitee.com:poucc/owt-docker.git
poucc
owt-docker
owt-docker
master

搜索帮助