* 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
17 lines
515 B
Docker
17 lines
515 B
Docker
FROM python:3.9-slim
|
|
|
|
# Bash is installed for more convenient debugging.
|
|
RUN apt-get update && apt-get install -y bash && rm -rf /var/lib/apt/lists/*
|
|
|
|
WORKDIR /airbyte/integration_code
|
|
COPY source_python_http_tutorial ./source_python_http_tutorial
|
|
COPY main.py ./
|
|
COPY setup.py ./
|
|
RUN pip install .
|
|
|
|
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
|
|
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]
|
|
|
|
LABEL io.airbyte.version=0.1.3
|
|
LABEL io.airbyte.name=airbyte/source-python-http-tutorial
|