* Dockerfile to 3.9 * Python version * More python updates * 3.9 on GitHub actions and lint updates * Test out 3.9.11 on GitHub actions * install python with an action * formatting: newline * Also has python code * only check first level for changed modules Previous example (source-google-search-console/credentials) * Test failure: there is no logger.trace
18 lines
633 B
Docker
18 lines
633 B
Docker
FROM python:3.9-slim
|
|
|
|
# We change to a directory unique to us
|
|
WORKDIR /airbyte/integration_code
|
|
# Install any needed Python dependencies
|
|
RUN pip install requests
|
|
# Copy source files
|
|
COPY source.py .
|
|
COPY spec.json .
|
|
|
|
# When this container is invoked, append the input argemnts to `python source.py`
|
|
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/source.py"
|
|
ENTRYPOINT ["python", "/airbyte/integration_code/source.py"]
|
|
|
|
# Airbyte's build system uses these labels to know what to name and tag the docker images produced by this Dockerfile.
|
|
LABEL io.airbyte.name=airbyte/source-stock-ticker-api
|
|
LABEL io.airbyte.version=0.2.1
|