提交 f54bef26 authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

worker/Makefile: Rename 'docker-build' task to 'docker'

上级 b6632994
...@@ -211,7 +211,7 @@ Read the [Fuzzer](Fuzzer.md) documentation for detailed information. ...@@ -211,7 +211,7 @@ Read the [Fuzzer](Fuzzer.md) documentation for detailed information.
Runs all fuzzer cases. Runs all fuzzer cases.
### `make docker-build` ### `make docker`
Builds a Linux image with fuzzer capable clang++. Builds a Linux image with fuzzer capable clang++.
...@@ -225,4 +225,4 @@ $ ./scripts/get-dep.sh clang-fuzzer ...@@ -225,4 +225,4 @@ $ ./scripts/get-dep.sh clang-fuzzer
### `make docker-run` ### `make docker-run`
Runs a container of the Docker image created with `make docker-build`. It automatically executes a `bash` session in the `/mediasoup` directory, which is a Docker volume that points to the real `mediasoup` directory. Runs a container of the Docker image created with `make docker`. It automatically executes a `bash` session in the `/mediasoup` directory, which is a Docker volume that points to the real `mediasoup` directory.
...@@ -84,7 +84,7 @@ endif ...@@ -84,7 +84,7 @@ endif
tidy \ tidy \
fuzzer \ fuzzer \
fuzzer-run-all \ fuzzer-run-all \
docker-build \ docker \
docker-run docker-run
default: mediasoup-worker default: mediasoup-worker
...@@ -242,7 +242,7 @@ fuzzer: setup ...@@ -242,7 +242,7 @@ fuzzer: setup
fuzzer-run-all: fuzzer-run-all:
LSAN_OPTIONS=verbosity=1:log_threads=1 $(BUILD_DIR)/mediasoup-worker-fuzzer -artifact_prefix=fuzzer/reports/ -max_len=1400 fuzzer/new-corpus deps/webrtc-fuzzer-corpora/corpora/stun-corpus deps/webrtc-fuzzer-corpora/corpora/rtp-corpus deps/webrtc-fuzzer-corpora/corpora/rtcp-corpus LSAN_OPTIONS=verbosity=1:log_threads=1 $(BUILD_DIR)/mediasoup-worker-fuzzer -artifact_prefix=fuzzer/reports/ -max_len=1400 fuzzer/new-corpus deps/webrtc-fuzzer-corpora/corpora/stun-corpus deps/webrtc-fuzzer-corpora/corpora/rtp-corpus deps/webrtc-fuzzer-corpora/corpora/rtcp-corpus
docker-build: docker:
ifeq ($(DOCKER_NO_CACHE),true) ifeq ($(DOCKER_NO_CACHE),true)
$(DOCKER) build -f Dockerfile --no-cache --tag mediasoup/docker:latest . $(DOCKER) build -f Dockerfile --no-cache --tag mediasoup/docker:latest .
else else
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论