Skip to content

Commit

Permalink
add dbt-postgres target for historical releases of dbt-postgres
Browse files Browse the repository at this point in the history
  • Loading branch information
mikealfare committed Apr 12, 2024
1 parent 70a4f75 commit 38b5f01
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,18 @@ ENTRYPOINT ["dbt"]
RUN python -m pip install --no-cache-dir "dbt-core @ git+https://github.com/dbt-labs/dbt-core@${commit_ref}#subdirectory=core"


FROM base as dbt-postgres

ARG commit_ref=main

HEALTHCHECK CMD dbt --version || exit 1

WORKDIR /usr/app/dbt/
ENTRYPOINT ["dbt"]

RUN python -m pip install --no-cache-dir "dbt-postgres @ git+https://github.com/dbt-labs/dbt-core@${commit_ref}#subdirectory=plugins/postgres"


FROM dbt-core as dbt-third-party

ARG dbt_third_party
Expand Down

0 comments on commit 38b5f01

Please sign in to comment.