[ci] Fix no enough space issue in docker root in multi arch build (#7321)
Why I did it Failed to build the centec-arm64 for no space in docker data root. How I did it Change to use the data root to the folder under /data. See detail info about DOCKER_DATA_ROOT_FOR_MULTIARCH in the file Makefile.work. How to verify it Set the environment variable, then the /data used as docker root.
This commit is contained in:
parent
2132d16ec4
commit
9930ba0df0
@ -24,6 +24,7 @@ jobs:
|
||||
PLATFORM_AZP: $(GROUP_NAME)
|
||||
PLATFORM_ARCH: amd64
|
||||
BUILD_OPTIONS: ${{ parameters.buildOptions }}
|
||||
DOCKER_DATA_ROOT_FOR_MULTIARCH: /data/march/docker
|
||||
dbg_image: false
|
||||
swi_image: false
|
||||
raw_image: false
|
||||
|
@ -41,7 +41,6 @@ jobs:
|
||||
git checkout -b $(Build.SourceBranchName)
|
||||
sudo modprobe overlay
|
||||
sudo apt-get install -y acl
|
||||
export DOCKER_DATA_ROOT_FOR_MULTIARCH=/data/march/docker
|
||||
sudo bash -c "echo 1 > /proc/sys/vm/compact_memory"
|
||||
ENABLE_DOCKER_BASE_PULL=y make PLATFORM=$(PLATFORM_AZP) PLATFORM_ARCH=$(PLATFORM_ARCH) configure
|
||||
displayName: 'Make configure'
|
||||
|
Loading…
Reference in New Issue
Block a user