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:
@@ -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 \
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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 \
|
||||||
|
|||||||
@@ -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 \
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user