From 6429c3cb92078349f620feff50562874e8934a59 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Fri, 9 Oct 2020 14:15:52 +0200 Subject: [PATCH] sympasoap should only be used in production (too much useless dependencies) --- .gitlab-ci.yml | 2 +- Dockerfile | 2 +- requirements.txt | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7424f1a..2106f26 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,7 +6,7 @@ py39: stage: test image: python:3-alpine before_script: - - apk add --no-cache libmagic libxml2-dev libxslt-dev + - apk add --no-cache libmagic - pip install tox --no-cache-dir script: tox -e py39 diff --git a/Dockerfile b/Dockerfile index c0d3351..53f1cb6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ RUN apk add --no-cache bash RUN mkdir /code WORKDIR /code COPY requirements.txt /code/requirements.txt -RUN pip install -r requirements.txt psycopg2-binary --no-cache-dir +RUN pip install -r requirements.txt psycopg2-binary sympasoap --no-cache-dir COPY . /code/ diff --git a/requirements.txt b/requirements.txt index d99f044..8e2482a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -10,5 +10,4 @@ djangorestframework django-rest-polymorphic ptpython python-magic -gunicorn -sympasoap \ No newline at end of file +gunicorn \ No newline at end of file