Professional Documents
Culture Documents
Docker Building
Docker Building
Docker Building
# Split architectures so that we don't get any manifest errors, actually we only
have to build images using the AMD64 archictector since we can compose other images
locally
# run each command from the folder where the Dockerfile is located
docker buildx build --platform linux/amd64 -t solar-mysql:amd64 --load .
docker buildx build --platform linux/amd64 -t solar-nginx:amd64 --load .
docker buildx build --platform linux/amd64 -t solar-php:amd64 --load .
# composing also works with the included compose file to simultaneous configure all
dockers