* Bump dbt-clickhouse version from 1.1.7 to 1.1.8 * pin dbt<1.2 * update doc * pin dbt core lt 1.2 * bump normalization version * loosen requirements * fix md * remove empty line * bump normalization version in worker * bump normalization version Co-authored-by: marcosmarxm <marcosmarxm@gmail.com>
33 lines
818 B
Docker
33 lines
818 B
Docker
FROM fishtownanalytics/dbt:1.0.0
|
|
COPY --from=airbyte/base-airbyte-protocol-python:0.1.1 /airbyte /airbyte
|
|
|
|
# Install SSH Tunneling dependencies
|
|
RUN apt-get update && apt-get install -y jq sshpass
|
|
|
|
WORKDIR /airbyte
|
|
COPY entrypoint.sh .
|
|
COPY build/sshtunneling.sh .
|
|
|
|
WORKDIR /airbyte/normalization_code
|
|
COPY normalization ./normalization
|
|
COPY setup.py .
|
|
COPY dbt-project-template/ ./dbt-template/
|
|
|
|
# Install python dependencies
|
|
WORKDIR /airbyte/base_python_structs
|
|
RUN pip install .
|
|
|
|
WORKDIR /airbyte/normalization_code
|
|
RUN pip install .
|
|
|
|
WORKDIR /airbyte/normalization_code/dbt-template/
|
|
# Download external dbt dependencies
|
|
RUN dbt deps
|
|
|
|
WORKDIR /airbyte
|
|
ENV AIRBYTE_ENTRYPOINT "/airbyte/entrypoint.sh"
|
|
ENTRYPOINT ["/airbyte/entrypoint.sh"]
|
|
|
|
LABEL io.airbyte.version=0.2.22
|
|
LABEL io.airbyte.name=airbyte/normalization
|