ARG REGISTRY
ARG REVISION

FROM ${REGISTRY}:${REVISION}

ARG APP
ARG PACKAGE

# install the gcloud sdk and  bigtable emulator
RUN apt-get install \
    google-cloud-sdk \
    google-cloud-sdk-bigtable-emulator \
    sudo \
    --no-install-recommends -y

RUN pip install -r requirements-dev.txt

WORKDIR /app
COPY . /app

CMD ["/app/bin/entrypoint-test.sh"]
