Merge branch 'master' into loancrate

This commit is contained in:
Trevor Robinson 2023-08-04 12:16:23 -05:00
commit 4c84a8cd67
2 changed files with 7 additions and 7 deletions

View File

@ -4,7 +4,7 @@ FROM metabase/${metabase_repo}:${metabase_version} as metabase
# From https://github.com/metabase/metabase/issues/13119#issuecomment-1000350647
FROM eclipse-temurin:11.0.15_10-jre-focal
FROM ubuntu:22.04
ENV FC_LANG en-US LC_CTYPE en_US.UTF-8

View File

@ -1,8 +1,8 @@
# metabase-arm64
Multi-arch/arm64-compatible images for [metabase](https://hub.docker.com/r/metabase/metabase)
Multi-arch/arm64-compatible images for [metabase](https://hub.docker.com/r/metabase/metabase).
Based on https://github.com/metabase/metabase/issues/13119#issuecomment-1000350647
Based on [this comment](https://github.com/metabase/metabase/issues/13119#issuecomment-1000350647) from the [Metabase issue for supporting ARM](https://github.com/metabase/metabase/issues/13119).
## Building
@ -10,18 +10,18 @@ Based on https://github.com/metabase/metabase/issues/13119#issuecomment-10003506
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")`).
```
```sh
docker buildx create --use
```
### Building latest
```
```sh
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.43.0 --build-arg metabase_repo=metabase-enterprise --build-arg metabase_version=v1.43.0 .
```sh
docker buildx build --push --platform linux/amd64,linux/arm64 --tag loancrate/metabase:enterprise-v1.46.6.4 --build-arg metabase_repo=metabase-enterprise --build-arg metabase_version=v1.46.6.4 .
```