mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #37190 from vdemeester/allow-make-run-with-args
Allow to add any args when doing a make run
This commit is contained in:
commit
641e2c01cc
2 changed files with 3 additions and 2 deletions
1
Makefile
1
Makefile
|
@ -43,6 +43,7 @@ DOCKER_ENVS := \
|
||||||
-e DOCKER_REMAP_ROOT \
|
-e DOCKER_REMAP_ROOT \
|
||||||
-e DOCKER_STORAGE_OPTS \
|
-e DOCKER_STORAGE_OPTS \
|
||||||
-e DOCKER_USERLANDPROXY \
|
-e DOCKER_USERLANDPROXY \
|
||||||
|
-e DOCKERD_ARGS \
|
||||||
-e TEST_INTEGRATION_DIR \
|
-e TEST_INTEGRATION_DIR \
|
||||||
-e TESTDIRS \
|
-e TESTDIRS \
|
||||||
-e TESTFLAGS \
|
-e TESTFLAGS \
|
||||||
|
|
|
@ -28,9 +28,9 @@ if [ -n "$DOCKER_PORT" ]; then
|
||||||
listen_port="${ports[-1]}"
|
listen_port="${ports[-1]}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
extra_params=""
|
extra_params="$DOCKERD_ARGS"
|
||||||
if [ "$DOCKER_REMAP_ROOT" ]; then
|
if [ "$DOCKER_REMAP_ROOT" ]; then
|
||||||
extra_params="--userns-remap $DOCKER_REMAP_ROOT"
|
extra_params="$extra_params --userns-remap $DOCKER_REMAP_ROOT"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
args="--debug \
|
args="--debug \
|
||||||
|
|
Loading…
Add table
Reference in a new issue