1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2025-12-20 05:11:30 +00:00

Add psutil module for bootstrapping

This commit is contained in:
FreddleSpl0it
2025-05-23 09:47:25 +02:00
parent f35def48cb
commit 5f93ff04a9
8 changed files with 39 additions and 10 deletions

View File

@@ -94,7 +94,15 @@ RUN apk upgrade --no-cache \
install -d -m 755 -g "clamav" -o "clamav" "/var/log/clamav" && \ install -d -m 755 -g "clamav" -o "clamav" "/var/log/clamav" && \
chown -R clamav:clamav /var/lib/clamav chown -R clamav:clamav /var/lib/clamav
RUN pip install --break-system-packages \ RUN apk add --no-cache --virtual .build-deps \
gcc \
musl-dev \
python3-dev \
linux-headers \
&& pip install --break-system-packages psutil \
&& apk del .build-deps
RUN pip install --break-system-packages \
mysql-connector-python \ mysql-connector-python \
jinja2 \ jinja2 \
redis \ redis \

View File

@@ -87,11 +87,11 @@ RUN addgroup -g 5000 vmail \
perl-proc-processtable \ perl-proc-processtable \
perl-app-cpanminus \ perl-app-cpanminus \
procps \ procps \
python3 py3-pip \ python3 py3-pip python3-dev \
py3-mysqlclient \
py3-html2text \ py3-html2text \
py3-jinja2 \ linux-headers \
py3-redis \ musl-dev \
gcc \
redis \ redis \
syslog-ng \ syslog-ng \
syslog-ng-redis \ syslog-ng-redis \
@@ -119,7 +119,8 @@ RUN pip install --break-system-packages \
mysql-connector-python \ mysql-connector-python \
jinja2 \ jinja2 \
redis \ redis \
dnspython dnspython \
psutil
COPY data/Dockerfiles/bootstrap /bootstrap COPY data/Dockerfiles/bootstrap /bootstrap

View File

@@ -15,7 +15,8 @@ RUN pip install \
mysql-connector-python \ mysql-connector-python \
jinja2 \ jinja2 \
redis \ redis \
dnspython dnspython \
psutil
COPY data/Dockerfiles/bootstrap /bootstrap COPY data/Dockerfiles/bootstrap /bootstrap

View File

@@ -7,6 +7,14 @@ RUN apk add --no-cache nginx \
python3 py3-pip \ python3 py3-pip \
supervisor supervisor
RUN apk add --no-cache --virtual .build-deps \
gcc \
musl-dev \
python3-dev \
linux-headers \
&& pip install --break-system-packages psutil \
&& apk del .build-deps
RUN pip install --break-system-packages \ RUN pip install --break-system-packages \
mysql-connector-python \ mysql-connector-python \
jinja2 \ jinja2 \

View File

@@ -108,6 +108,14 @@ RUN apk add -U --no-cache autoconf \
pcre-dev \ pcre-dev \
zlib-dev zlib-dev
RUN apk add --no-cache --virtual .build-deps \
gcc \
musl-dev \
python3-dev \
linux-headers \
&& pip install --break-system-packages psutil \
&& apk del .build-deps
RUN pip install --break-system-packages \ RUN pip install --break-system-packages \
mysql-connector-python \ mysql-connector-python \
jinja2 \ jinja2 \

View File

@@ -44,7 +44,8 @@ RUN pip install --break-system-packages \
mysql-connector-python \ mysql-connector-python \
jinja2 \ jinja2 \
redis \ redis \
dnspython dnspython \
psutil
COPY data/Dockerfiles/bootstrap /bootstrap COPY data/Dockerfiles/bootstrap /bootstrap
COPY data/Dockerfiles/postfix/supervisord.conf /etc/supervisor/supervisord.conf COPY data/Dockerfiles/postfix/supervisord.conf /etc/supervisor/supervisord.conf

View File

@@ -34,7 +34,8 @@ RUN pip install --break-system-packages \
mysql-connector-python \ mysql-connector-python \
jinja2 \ jinja2 \
redis \ redis \
dnspython dnspython \
psutil
COPY data/Dockerfiles/bootstrap /bootstrap COPY data/Dockerfiles/bootstrap /bootstrap

View File

@@ -47,7 +47,8 @@ RUN pip install --break-system-packages \
mysql-connector-python \ mysql-connector-python \
jinja2 \ jinja2 \
redis \ redis \
dnspython dnspython \
psutil
COPY data/Dockerfiles/bootstrap /bootstrap COPY data/Dockerfiles/bootstrap /bootstrap