Skip to content

Commit

Permalink
update third party image to pip install conditionally
Browse files Browse the repository at this point in the history
  • Loading branch information
mikealfare committed Apr 15, 2024
1 parent 38b5f01 commit 12f2fbe
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,8 @@ FROM dbt-core as dbt-third-party

ARG dbt_third_party

RUN python -m pip install --no-cache-dir "${dbt_third_party}"
RUN if [ "$dbt_third_party" ]; then \
python -m pip install --no-cache-dir "${dbt_third_party}"; \
else \
echo "No third party adapter provided"; \
fi \

0 comments on commit 12f2fbe

Please sign in to comment.