Skip to content
Snippets Groups Projects
Commit d739cf65 authored by kaiyou's avatar kaiyou
Browse files

Enable mysql and postgresql in the build

parent a1b6e233
No related branches found
No related tags found
No related merge requests found
FROM python:3-alpine AS python_build
COPY requirements-prod.txt /requirements.txt
RUN apk add --no-cache build-base python3-dev openssl-dev libffi-dev xmlsec xmlsec-dev \
RUN apk add --no-cache build-base python3-dev openssl-dev libffi-dev xmlsec xmlsec-dev postgresql-dev mariadb-connector-c-dev \
&& pip install -r /requirements.txt
FROM node:alpine AS assets_build
......@@ -10,7 +10,7 @@ COPY assets /assets
RUN /node_modules/.bin/webpack-cli
FROM python:3-alpine
RUN apk add --no-cache xmlsec \
RUN apk add --no-cache xmlsec postgresql-libs mariadb-connector-c \
&& mkdir /app
WORKDIR /app
......
......@@ -30,8 +30,10 @@ limits==1.3
lxml==4.4.1
Mako==1.1.0
MarkupSafe==1.1.1
mysqlclient==1.4.5
passlib==1.7.1
pkgconfig==1.5.1
psycopg2==2.8.4
pycparser==2.19
pyOpenSSL==19.0.0
pysaml2==4.9.0
......
......@@ -17,3 +17,5 @@ pysaml2
xmlsec
cryptography
authlib
mysqlclient
psycopg2
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