mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
Merge pull request #20202 from anusha-ragunathan/arm-dummy-interface
Add "dummy" network module for arm images.
This commit is contained in:
10
Makefile
10
Makefile
@@ -80,6 +80,16 @@ binary: build
|
||||
$(DOCKER_RUN_DOCKER) hack/make.sh binary
|
||||
|
||||
build: bundles
|
||||
ifeq ($(DOCKER_OSARCH), linux/arm)
|
||||
# A few libnetwork integration tests require that the kernel be
|
||||
# configured with "dummy" network interface and has the module
|
||||
# loaded. However, the dummy module is not available by default
|
||||
# on arm images. This ensures that it's built and loaded.
|
||||
echo "Syncing kernel modules"
|
||||
oc-sync-kernel-modules
|
||||
depmod
|
||||
modprobe dummy
|
||||
endif
|
||||
docker build ${DOCKER_BUILD_ARGS} -t "$(DOCKER_IMAGE)" -f "$(DOCKERFILE)" .
|
||||
|
||||
bundles:
|
||||
|
||||
Reference in New Issue
Block a user