-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker/docker-compose issue on M1 #111
Comments
should be mention such in the documentation ? |
yes please |
@krishnaglodha , @francbartoli |
Actually with these latest commit the build process is already in place but it is not documented. For example to build for arm64 is just about to run: python scripts/docker/build.py --docker-platform linux/arm64 The python scripts/docker/build.py --help
Usage: build.py [OPTIONS]
Build the project's docker image.
╭─ Options ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --base-image-name TEXT [default: registry.gitlab.com/geobeyond/georoma-fastgeoapi] │
│ --build-context-path TEXT [default: /Users/francbartoli/code/fastgeoapi] │
│ --default-git-branch TEXT Name of the git branch to use as the base for the docker cache [default: None] │
│ --docker-platform TEXT Docker architecture to use as the target platform for the build [default: linux/amd64] │
│ --use-cache --no-use-cache Use Docker cache for the build [default: use-cache] │
│ --install-completion Install completion for the current shell. │
│ --show-completion Show completion for the current shell, to copy it or customize the installation. │
│ --help Show this message and exit. │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ Can somebody volunteer to add documentation for Docker build process? |
I'm on it |
I tried running docker-compose as it is and got following error for keycloak
no matching manifest for linux/arm64/v8 in the manifest list entries
I was able to resolve it by running
export DOCKER_DEFAULT_PLATFORM=linux/amd64
firstThe text was updated successfully, but these errors were encountered: