This repository has been archived by the owner on Apr 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade Metabase up to v1.44.6. Fixed some build issues. Allowed SQL …
…modify queries (does't returns any results).
- Loading branch information
Showing
8 changed files
with
74 additions
and
41 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 |
---|---|---|
|
@@ -10,3 +10,5 @@ | |
duckdb-driver.iml | ||
.lein-repl-history | ||
.cpcache | ||
.clj-kondo | ||
.lsp |
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
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# DOC | ||
# | ||
# This script builds docker image of Metabase based on Ubuntu. DuckDB pluging is included. | ||
# | ||
# The docker/metabase/bin/docker folder contains a bit modified files from the Metabase source. | ||
# | ||
|
||
# Common | ||
CUR=$PWD | ||
|
||
# Metabase | ||
MB_VSN=v1.44.6 | ||
MB_GIT_URL=https://github.com/metabase/metabase.git | ||
MB_SRC_FOLDER=docker/metabase/source | ||
MB_IMAGE_NAME=ubuntu_metabase | ||
MB_DUCKDB_IMAGE_NAME=metabase_duckdb | ||
|
||
# Clone metabase source code | ||
if [ ! -d "$MB_SRC_FOLDER/$MB_VSN" ] ; then | ||
git clone --depth 1 --branch $MB_VSN $MB_GIT_URL $MB_SRC_FOLDER/$MB_VSN | ||
fi | ||
|
||
# Copy ubuntu based docker files/sh script into source code of Metabase | ||
yes | cp -rf docker/metabase/Dockerfile $MB_SRC_FOLDER/$MB_VSN | ||
yes | cp -rf docker/metabase/bin/docker/* $MB_SRC_FOLDER/$MB_VSN/bin/docker | ||
|
||
# Build the Metabase Ubuntu based docker image | ||
cd $MB_SRC_FOLDER/$MB_VSN && docker build -t $MB_IMAGE_NAME -f Dockerfile . && cd $CUR | ||
|
||
# Build the Metabase image with DuckDB plugin | ||
docker build -t $MB_DUCKDB_IMAGE_NAME -f docker/Dockerfile . |
This file was deleted.
Oops, something went wrong.
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
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
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
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