Skip to content

Commit 6f2884f

Browse files
committed
demo setup II
1 parent d511c06 commit 6f2884f

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

stacks/trino-iceberg/dbt/Dockerfile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.11-slim AS builder
1+
FROM python:3.12-slim-bullseye AS builder
22

33
# Install build dependencies
44
RUN apt-get update && apt-get install -y \
@@ -16,7 +16,7 @@ RUN pip install --no-cache-dir --upgrade pip && \
1616
pip install --no-cache-dir -r requirements.txt
1717

1818
# Final stage
19-
FROM python:3.11-slim
19+
FROM python:3.12-slim-bullseye
2020

2121
RUN apt-get update && apt-get install -y \
2222
git \
@@ -31,7 +31,11 @@ ENV PATH="/opt/venv/bin:$PATH"
3131
WORKDIR /dbt
3232

3333
# Copy dbt project
34-
COPY dbt_project.yml profiles.yml ./
34+
#COPY dbt_project.yml profiles.yml ./
35+
#COPY tc_agentur ./tc_agentur
36+
#COPY tc_person ./tc_person
37+
#COPY tc_schadenfall ./tc_schadenfall
38+
#COPY tc_schadennrsrv ./tc_schadennrsrv
3539

3640
# Security: non-root user
3741
RUN useradd -m -u 1000 dbt && chown -R dbt:dbt /dbt

stacks/trino-iceberg/dbt/profiles.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ my_project:
33
outputs:
44
prod:
55
type: trino
6-
#method: none
6+
method: ldap
77
user: admin
88
password: adminadmin
99
host: trino-coordinator-default-headless.default.svc.cluster.local
1010
port: 8443
11-
database: lakehouse
11+
database: iceberg
1212
schema: my_schema
1313
threads: 4
1414
http_scheme: https
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
dbt-core
2-
dbt-trino
3-
trino==0.329
1+
dbt-core==1.10.13
2+
dbt-trino==1.9.3

0 commit comments

Comments
 (0)