Fill in missing provisions

This commit is contained in:
nolash 2021-05-21 18:54:25 +02:00
parent 0e0276b550
commit 7d1837eafa
Signed by untrusted user who does not match committer: lash
GPG Key ID: 21D2E7BB88C2A746

View File

@ -15,6 +15,7 @@ RUN pip install semver
# TODO use a packaging style that lets us copy requirments only ie. pip-tools # TODO use a packaging style that lets us copy requirments only ie. pip-tools
COPY cic-eth/ . COPY cic-eth/ .
RUN pip install $pip_extra_index_url_flag . RUN pip install $pip_extra_index_url_flag .
RUN pip install $pip_extra_index_url_flag pycryptodome==3.10.1
# --- TEST IMAGE --- # --- TEST IMAGE ---
FROM python:3.8.6-slim-buster as test FROM python:3.8.6-slim-buster as test
@ -36,6 +37,7 @@ COPY --from=compile /usr/local/lib/python3.8/site-packages/ \
COPY cic-eth/test_requirements.txt . COPY cic-eth/test_requirements.txt .
RUN pip install $pip_extra_index_url_flag -r test_requirements.txt RUN pip install $pip_extra_index_url_flag -r test_requirements.txt
ENV PYTHONPATH . ENV PYTHONPATH .
ENTRYPOINT ["pytest"] ENTRYPOINT ["pytest"]
@ -44,7 +46,7 @@ ENTRYPOINT ["pytest"]
FROM python:3.8.6-slim-buster as runtime FROM python:3.8.6-slim-buster as runtime
RUN apt-get update && \ RUN apt-get update && \
apt install -y gnupg libpq-dev apt install -y gnupg libpq-dev procps
WORKDIR /usr/src/cic-eth WORKDIR /usr/src/cic-eth