From aa76b7a410aecdd9348184836b1bf4527ecab368 Mon Sep 17 00:00:00 2001 From: Mike Gouline <1960272+gouline@users.noreply.github.com> Date: Thu, 13 Jun 2024 16:57:14 +1000 Subject: [PATCH] Custom Metabase image for sandbox --- sandbox/Dockerfile-metabase | 9 +++++++++ sandbox/docker-compose.yml | 6 +++++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 sandbox/Dockerfile-metabase diff --git a/sandbox/Dockerfile-metabase b/sandbox/Dockerfile-metabase new file mode 100644 index 00000000..803c325b --- /dev/null +++ b/sandbox/Dockerfile-metabase @@ -0,0 +1,9 @@ +FROM eclipse-temurin:11-jre + +ARG MB_VERSION + +RUN curl -k -O https://downloads.metabase.com/v${MB_VERSION}/metabase.jar + +EXPOSE 3000 + +ENTRYPOINT ["java", "-jar", "metabase.jar"] diff --git a/sandbox/docker-compose.yml b/sandbox/docker-compose.yml index 43b28862..c350384d 100644 --- a/sandbox/docker-compose.yml +++ b/sandbox/docker-compose.yml @@ -20,7 +20,11 @@ services: restart: always metabase: - image: metabase/metabase:v0.50.0 + # image: metabase/metabase:v0.50.1 + build: + dockerfile: Dockerfile-metabase + args: + - MB_VERSION=0.50.1 environment: - MB_SETUP_TOKEN=${MB_SETUP_TOKEN:-} ports: