Skip to content

Commit 50f6048

Browse files
committed
adjust docker image: install dbt-sqlite before dbt-tests-adapter to ensure compatible version of dbt-core
1 parent ca1106f commit 50f6048

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ RUN apt-get update && apt-get -y install git python3 python3-pip python3-venv sq
77

88
WORKDIR /opt/dbt-sqlite
99

10-
RUN python3 -m pip install --upgrade pip \
11-
&& python3 -m pip install pytest pytest-dotenv dbt-tests-adapter~=1.10.4
10+
RUN python3 -m pip install --upgrade pip
1211

1312
RUN wget -q https://github.com/nalgeon/sqlean/releases/download/0.15.2/crypto.so
1413
RUN wget -q https://github.com/nalgeon/sqlean/releases/download/0.15.2/math.so
@@ -21,6 +20,8 @@ COPY dbt ./dbt
2120

2221
RUN pip install .
2322

23+
RUN python3 -m pip install pytest pytest-dotenv dbt-tests-adapter~=1.10.4
24+
2425
COPY run_tests.sh .
2526
COPY pytest.ini .
2627
COPY tests ./tests

0 commit comments

Comments
 (0)