1
0
mirror of synced 2026-01-22 10:01:28 -05:00
Files
airbyte/airbyte-integrations/connector-templates/source-python-http-api/Dockerfile
Davin Chia f660b0a946 Add template generation for Santa aka CDK. (#3034)
Template generation for new Source using the Santa CDK - provide basic scaffolding for someone implementing a new source.

General approach is to buff up comments in the original SDK, and add TODOs with secondary comments in the generated stub methods, as well as links to existing examples (e.g. Stripe or ExchangeRate api) users can look at.

Checked in and added tests for the generated modules.
2021-04-25 18:02:33 +08:00

17 lines
503 B
Docker

FROM airbyte/integration-base-python:0.1.5
# Bash is installed for more convenient debugging.
RUN apt-get update && apt-get install -y bash && rm -rf /var/lib/apt/lists/*
ENV CODE_PATH="source_{{snakeCase name}}"
ENV AIRBYTE_IMPL_MODULE="source_{{snakeCase name}}"
ENV AIRBYTE_IMPL_PATH="Source{{properCase name}}"
WORKDIR /airbyte/integration_code
COPY $CODE_PATH ./$CODE_PATH
COPY setup.py ./
RUN pip install .
LABEL io.airbyte.version=0.1.0
LABEL io.airbyte.name=airbyte/source-{{dashCase name}}