FPDC: switch to use fedora packages for sqlalchemy and postgres dependencies

Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
Clement Verna 2019-09-02 12:01:39 +02:00 committed by Pierre-Yves Chibon
parent c0f7bdc4b0
commit 2ccc88da82

View file

@ -10,9 +10,10 @@ spec:
dockerfile: |-
FROM fedora:30
RUN dnf install -y python3-ujson python3-gunicorn libxcrypt && dnf clean all \
RUN dnf install -y python3-ujson python3-gunicorn python3-psycopg2 python3-sqlalchemy python3-zope-sqlalchemy \
&& dnf clean all \
&& mkdir /app \
&& pip3 install --no-cache-dir kinto SQLAlchemy psycopg2-binary zope.sqlalchemy
&& pip3 install --no-cache-dir kinto
EXPOSE 8080