1
0
mirror of synced 2025-12-30 21:02:43 -05:00
Files
airbyte/airbyte-integrations/connectors/source-google-analytics-data-api/Dockerfile
Denys Davydov e9fba26a99 🐛 Source Google Analytics Data API: limit custom report page size (#27909)
* Connector health: source hubspot, gitlab, snapchat-marketing: fix builds

* #2277 source google data analytics: limit page size of custom reports streams

* upd changelog

* limit page size only for check command
2023-07-03 20:19:00 +03:00

33 lines
940 B
Docker

FROM python:3.9.11-slim as base
# build and load all requirements
FROM base as builder
WORKDIR /airbyte/integration_code
# upgrade pip to the latest version
RUN apt update -y && apt upgrade -y
COPY setup.py ./
# install necessary packages to a temporary folder
RUN pip install --prefix=/install .
# build a clean environment
FROM base
WORKDIR /airbyte/integration_code
# copy all loaded and built libraries to a pure basic image
COPY --from=builder /install /usr/local
# add default timezone settings
COPY --from=builder /usr/share/zoneinfo/Etc/UTC /etc/localtime
RUN echo "Etc/UTC" > /etc/timezone
# copy payload code only
COPY main.py ./
COPY source_google_analytics_data_api ./source_google_analytics_data_api
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]
LABEL io.airbyte.version=1.1.2
LABEL io.airbyte.name=airbyte/source-google-analytics-data-api