Skip to content

Commit

Permalink
feat: added superset image (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
chgl authored Feb 5, 2024
1 parent 39b2d12 commit f479aea
Show file tree
Hide file tree
Showing 6 changed files with 585 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
- spark-delta
- strimzi-kafka-connect
- cricketeerone-kafka-connect
- apache-superset
with:
image: ghcr.io/${{ github.repository }}/${{ matrix.image }}
build-context: images/${{ matrix.image }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/schedule.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ jobs:
[
'ghcr.io/${{ github.repository }}/spark-delta:latest',
'ghcr.io/${{ github.repository }}/strimzi-kafka-connect:latest',
'ghcr.io/${{ github.repository }}/cricketeerone-kafka-connect:latest'
'ghcr.io/${{ github.repository }}/cricketeerone-kafka-connect:latest',
'ghcr.io/${{ github.repository }}/apache-superset:latest'
]
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 2 additions & 0 deletions .mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ DISABLE:
DISABLE_LINTERS:
- MARKDOWN_MARKDOWN_LINK_CHECK
- MARKDOWN_MARKDOWN_TABLE_FORMATTER
# false positive: error - python package "--hash" is available for public registration. /github/workspace/images/superset/requirements.txt
- REPOSITORY_DUSTILOCK

SHOW_ELAPSED_TIME: true
FILEIO_REPORTER: false
Expand Down
10 changes: 10 additions & 0 deletions images/apache-superset/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM docker.io/apache/superset:2.1.3@sha256:d175fbf9fd0285a6e47c43d0b09abe7ff98644e39f3334d6bab98b761fc2ff91
WORKDIR /app

USER root

COPY requirements.txt .

RUN pip install --require-hashes --no-cache-dir -r requirements.txt

USER superset
17 changes: 17 additions & 0 deletions images/apache-superset/requirements.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Authlib==1.3.0
trino==0.327.0
duckdb_engine==0.11.0
deltalake==0.15.2
duckdb==0.9.2

# Project is currently unsupported
PyHive==0.7.0

# https://python-oracledb.readthedocs.io/en/latest/user_guide/appendix_c.html#upgrading-from-cx-oracle-8-3-to-python-oracledb
# both can be installed.
cx-Oracle==8.3.0
oracledb==2.0.1

# Installation requires `sudo apt-get install libmysqlclient-dev python3.11-dev`
# Skipping for now.
# mysqlclient==2.2.3
Loading

0 comments on commit f479aea

Please sign in to comment.