Skip to content

Commit

Permalink
Rename Dockerfile.metabase and CURL_FLAGS (#263)
Browse files Browse the repository at this point in the history
  • Loading branch information
gouline committed Jun 20, 2024
1 parent 1e6d0f9 commit 3d18ffa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion sandbox/Dockerfile-metabase → sandbox/Dockerfile.metabase
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
FROM eclipse-temurin:11-jre

ARG MB_VERSION
ARG CURL_FLAGS

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

EXPOSE 3000

Expand Down
3 changes: 2 additions & 1 deletion sandbox/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@ services:
metabase:
# image: metabase/metabase:latest
build:
dockerfile: Dockerfile-metabase
dockerfile: Dockerfile.metabase
args:
- MB_VERSION=0.50.5
- CURL_FLAGS=${CURL_FLAGS:-}
environment:
- MB_SETUP_TOKEN=${MB_SETUP_TOKEN:-}
- MB_DB_FILE=/metabase-data/metabase.db
Expand Down

0 comments on commit 3d18ffa

Please sign in to comment.