-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support/require specifying a metabase version for the docker image
It can be retrieved by running e.g. docker inspect -f '{{index .Config.Labels "io.materialize.metabase-version"}}' materialize/metabase:latest Which is I guess something.
- Loading branch information
1 parent
b7baaec
commit 58a03b4
Showing
2 changed files
with
21 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
FROM metabase/metabase:latest | ||
ARG METABASE_VERSION=latest | ||
FROM metabase/metabase:${METABASE_VERSION} | ||
|
||
ARG METABASE_VERSION | ||
LABEL io.materialize.metabase-version=${METABASE_VERSION} | ||
|
||
ADD target/dist/materialize-driver.jar /plugins/ | ||
RUN chmod 744 /plugins/materialize-driver.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters