Skip to content
Snippets Groups Projects
Commit d9cd3bc8 authored by Erwan Rouchet's avatar Erwan Rouchet Committed by Bastien Abadie
Browse files

Add cryptography to the base image

parent 0c4da7c0
No related branches found
No related tags found
No related merge requests found
image: registry.gitlab.com/arkindex/backend:base-0.9.4
image: registry.gitlab.com/arkindex/backend:base-0.9.6
stages:
- test
- build
......@@ -8,7 +8,7 @@ cache:
- .cache/pip
before_script:
- apk --update add build-base libffi-dev openssl-dev
- apk --update add build-base
# Custom line to install our own deps from Git using GitLab CI credentials
- "pip install -e git+https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/arkindex/common#egg=arkindex-common"
- "pip install -e git+https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/arkindex/ponos#egg=ponos-server"
......
FROM registry.gitlab.com/arkindex/backend:base-0.9.4
FROM registry.gitlab.com/arkindex/backend:base-0.9.6
ARG COMMON_BRANCH=master
ARG COMMON_ID=9855787
......
......@@ -3,7 +3,7 @@ FROM python:3.6-alpine as base
FROM base as staging
# Add system dependencies, use cache by copying requirements
RUN apk add --update --no-cache postgresql-dev jpeg-dev build-base gzip zlib-dev libmagic libxml2-dev libxslt-dev
RUN apk add --update --no-cache postgresql-dev jpeg-dev build-base gzip zlib-dev libmagic libxml2-dev libxslt-dev libffi-dev
# Install long buildtime deps
# Uses a source archive instead of full local copy to speedup docker build
......
cryptography>=2.7
Django==2.2
elasticsearch==6.2.0
ijson==2.3
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment