Skip to content
Snippets Groups Projects
Commit ee8679da authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Merge branch 'docker/base-on-bullseye' into 'master'

[Docker] Base on debian:bullseye-slim

See merge request AlekSIS/official/AlekSIS-Core!574
parents a53d3a1a 63a42cdf
No related branches found
No related tags found
1 merge request!574[Docker] Base on debian:bullseye-slim
Pipeline #7148 passed
Pipeline: AlekSIS

#7149

    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