metabase-arm64/README.md

28 lines
882 B
Markdown
Raw Normal View History

2022-02-17 15:58:22 +00:00
# metabase-arm64
Multi-arch/arm64-compatible images for [metabase](https://hub.docker.com/r/metabase/metabase)
2022-02-17 15:58:22 +00:00
Based on https://github.com/metabase/metabase/issues/13119#issuecomment-1000350647
## Building
### One-time setup
Need to use a docker driver that supports multiple platforms (otherwise buildx fails with `error: multiple platforms feature is currently not supported for docker driver. Please switch to a different driver (eg. "docker buildx create --use")`).
```
docker buildx create --use
```
### Building latest
```
2022-02-17 21:23:44 +00:00
docker buildx build --push --platform linux/amd64,linux/arm64 --tag loancrate/metabase:latest .
```
### Building a specific repo and/or version
```
docker buildx build --push --platform linux/amd64,linux/arm64 --tag loancrate/metabase:enterprise-v1.42.4 --build-arg metabase_repo=metabase-enterprise --build-arg metabase_version=v1.42.4 .
```