From 1500936232dc5bd6d89e173c684cd3fd7d6d05b2 Mon Sep 17 00:00:00 2001 From: Florent Daigniere Date: Fri, 19 Aug 2022 19:32:42 +0200 Subject: [PATCH] Some people will need this at runtime --- core/admin/Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/core/admin/Dockerfile b/core/admin/Dockerfile index 05ab88ff..4d6aa75a 100644 --- a/core/admin/Dockerfile +++ b/core/admin/Dockerfile @@ -36,10 +36,9 @@ WORKDIR /app COPY requirements-prod.txt requirements.txt RUN set -eu \ - && apk add --no-cache libressl curl \ + && apk add --no-cache libressl curl postgresql-libs mariadb-connector-c \ && pip install --no-cache-dir --extra-index-url=https://www.piwheels.org/simple -r requirements.txt --only-binary=:all: --no-binary=Flask-bootstrap,PyYAML,SQLAlchemy \ - || ( apk add --no-cache postgresql-libs mariadb-connector-c \ - && apk add --no-cache --virtual build-dep libressl-dev libffi-dev python3-dev build-base postgresql-dev mariadb-connector-c-dev cargo \ + || ( apk add --no-cache --virtual build-dep libressl-dev libffi-dev python3-dev build-base postgresql-dev mariadb-connector-c-dev cargo \ && pip install --upgrade pip \ && pip install -r requirements.txt \ && apk del --no-cache build-dep )