docker build -t ubuntu-22.04-build-env docker
echo "$USER ALL=(ALL) NOPASSWD: ALL
6A79
" | sudo tee -a /etc/sudoers
docker run --privileged -it \
-v $PWD:/workspace \
--mount type=bind,source=/dev,target=/dev \
--mount type=bind,source=/etc/passwd,target=/etc/passwd \
--mount type=bind,source=/etc/group,target=/etc/group \
--mount type=bind,source=/etc/shadow,target=/etc/shadow \
--mount type=bind,source=/etc/sudoers,target=/etc/sudoers \
--user $UID:$GID \
ubuntu-22.04-build-env
./build.sh uboot az04
./build.sh kernel az04
./build.sh alpine az04
./build.sh image az04
all: uboot kernel alpine image
./build.sh all