Skip to content
Snippets Groups Projects
Verified Commit 63a42cdf authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

[Docker] Base on debian:bullseye-slim

* We get Python 3.9 from Debian
* We can use uWSGI from Debian
* We get postrgedql-client 13 (so pg_dump in dbbackup can dum pfrom PostgreSQL 13)
parent 29e673dd
No related branches found
No related tags found
1 merge request!574[Docker] Base on debian:bullseye-slim
Pipeline #7139 passed
FROM python:3.9-buster AS core
FROM debian:bullseye-slim AS core
# Build arguments
ARG EXTRAS="ldap,s3"
......@@ -31,8 +31,11 @@ RUN apt-get -y update && \
libpq-dev \
libssl-dev \
postgresql-client \
yarnpkg && \
eatmydata pip install uwsgi
python3-dev \
python3-pip \
uwsgi \
uwsgi-plugin-python3 \
yarnpkg
# Install extra dependencies
RUN case ",$EXTRAS," in \
......@@ -73,7 +76,8 @@ RUN set -e; \
libpq-dev \
libssl-dev \
libldap2-dev \
libsasl2-dev; \
libsasl2-dev \
python3-dev; \
eatmydata apt-get autoremove --purge -y; \
apt-get clean -y; \
rm -rf /root/.cache
......
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