Skip to content

Commit

Permalink
Custom Metabase image for sandbox (#258)
Browse files Browse the repository at this point in the history
  • Loading branch information
gouline authored Jun 13, 2024
1 parent ac35f7b commit 258e7f9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
9 changes: 9 additions & 0 deletions sandbox/Dockerfile-metabase
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM eclipse-temurin:11-jre

ARG MB_VERSION

RUN curl -O https://downloads.metabase.com/v${MB_VERSION}/metabase.jar

EXPOSE 3000

ENTRYPOINT ["java", "-jar", "metabase.jar"]
6 changes: 5 additions & 1 deletion sandbox/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 258e7f9

Please sign in to comment.