blob: d65ed9576041bd7976d56aab29d4af36ddbdf4ec [file] [log] [blame]
FROM gcr.io/google-appengine/python
RUN apt-get update && apt-get install -y apt-transport-https ca-certificates gnupg \
&& echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" | tee -a /etc/apt/sources.list.d/google-cloud-sdk.list \
&& curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key --keyring /usr/share/keyrings/cloud.google.gpg add - \
&& apt-get update && apt-get install -y google-cloud-sdk-datastore-emulator \
&& pip3 install tox
ADD . .
RUN tox --notest
CMD ["tox"]