echo -n "Are you sure you want to build the hash commit, with the version 2.3 tag, if it is not right, change the N2N_VERSION environment variable in the Makefile. (y/n) "&&read sure &&[$$sure== y ];\
fi
steps:
platforms:pre_platforms
if["$(TARGET_ARCHITECTURE)"="arm32v7"]||["$(TARGET_ARCHITECTURE)"=""];thenDOCKER_IMAGE_FILENAME="Dockerfile.arm32v7"DOCKER_IMAGE_TAGNAME=$(DOCKER_IMAGE_NAME):$(DOCKER_IMAGE_VERSION)-arm32v7 make build;fi
if["$(TARGET_ARCHITECTURE)"="arm32v7"]||["$(TARGET_ARCHITECTURE)"=""];thenDOCKER_IMAGE_FILENAME="Dockerfile.arm32v7"DOCKER_IMAGE_TAGNAME=$(DOCKER_IMAGE_NAME):$(DOCKER_IMAGE_VERSION)-arm32v7 make build;fi
if["$(TARGET_ARCHITECTURE)"="x86_64"]||["$(TARGET_ARCHITECTURE)"=""];thenDOCKER_IMAGE_FILENAME="Dockerfile.x86_64"DOCKER_IMAGE_TAGNAME=$(DOCKER_IMAGE_NAME):$(DOCKER_IMAGE_VERSION)-x86_64 make build;fi
if["$(TARGET_ARCHITECTURE)"="x86_64"]||["$(TARGET_ARCHITECTURE)"=""];thenDOCKER_IMAGE_FILENAME="Dockerfile.x86_64"DOCKER_IMAGE_TAGNAME=$(DOCKER_IMAGE_NAME):$(DOCKER_IMAGE_VERSION)-x86_64 make build;fi
Use `make` command to build the images. Before starting the arm32v7 platform build, you need to run this registry, so you can perform a cross-build. Just follow the documentation: https://github.com/multiarch/qemu-user-static/blob/master/README.md
Use `make` command to build the images. Before starting the arm32v7 platform build, you need to run this registry, so you can perform a cross-build. Just follow the documentation: https://github.com/multiarch/qemu-user-static/blob/master/README.md
```sh
```sh
$ TARGET_ARCHITECTURE=[arm32v7, x86_64, (nothing to build all architectures)] make
$ N2N_COMMIT_HASH=[(optional)] TARGET_ARCHITECTURE=[arm32v7, x86_64, (nothing to build all architectures)] make platforms