* [Web] add github version tag * [Web] add github version tag * [Web] add github version tag * [Web] add github version tag * [Web] add github version tag * [Web] add github version tag error handling * [Web] add github version tag error handling * Passwordless SOGo auth: support for calendar invitations and calendar/contacts subscriptions Inviting someone to a calendar event triggers a request to /SOGo/so/otheruser@example.com/freebusy.ifb/ajaxRead. Subscribing to someone's calendar/contacts triggers a request to /SOGo/so/otheruser@example.com/foldersSearch. The email address in the URL is different from the logged-in user, which needs to be handled appropriately by sogo-auth.php. * [Web] add github version tag - adjust css * [Compose] Update SOGo Autoreply Schedule to 5m Based on the advice of inverse (SOGo developer). Thanks to https://github.com/jmber Closes: https://github.com/mailcow/mailcow-dockerized/issues/4436 * [Web] add github version tag - move twig globals * [Web] add github version tag - missing </div> * Passwordless SOGo auth: improvements for when accessing other users * [WebAuthn] fido2 passwordless auth - fix (#4440) * [WebAuthn] fido2 revert * [WebAuthn] set UV flags to 'discouraged' * [WebAuthn] revert - set UV flags to 'discouraged' * Update clamav to 0.104.2 * Update clamav to 0.104.2 * Update dovecot to 2.3.18 Update gosu to 1.14 Use debian bullseye as base * [Web] Updated lang.es.json [CI SKIP] (#4453) Co-authored-by: Fijxu <fijxu@zzls.xyz> Co-authored-by: milkmaker <milkmaker@mailcow.de> Co-authored-by: Fijxu <fijxu@zzls.xyz> Co-authored-by: FreddleSpl0it <patschul@posteo.de> Co-authored-by: FreddleSpl0it <75116288+FreddleSpl0it@users.noreply.github.com> Co-authored-by: Michael Kuron <mkuron@users.noreply.github.com> Co-authored-by: Peter <magic@kthx.at> Co-authored-by: milkmaker <milkmaker@mailcow.de> Co-authored-by: Fijxu <fijxu@zzls.xyz>
77 lines
1.9 KiB
Docker
77 lines
1.9 KiB
Docker
FROM debian:bullseye-slim
|
|
|
|
LABEL maintainer "André Peters <andre.peters@servercow.de>"
|
|
|
|
ARG CLAMAV=0.104.2
|
|
ARG TINI_VERSION=v0.19.0
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
ca-certificates \
|
|
build-essential \
|
|
pkg-config \
|
|
python3 \
|
|
python3-pip \
|
|
valgrind \
|
|
check \
|
|
libbz2-dev \
|
|
libcurl4-openssl-dev \
|
|
libjson-c-dev \
|
|
libmilter-dev \
|
|
libncurses5-dev \
|
|
libpcre2-dev \
|
|
libssl-dev \
|
|
libxml2-dev \
|
|
zlib1g-dev \
|
|
curl \
|
|
bash \
|
|
wget \
|
|
tzdata \
|
|
dnsutils \
|
|
rsync \
|
|
dos2unix \
|
|
netcat \
|
|
&& python3 -m pip install cmake \
|
|
&& rm -rf /var/lib/apt/lists/* \
|
|
&& wget -O - https://www.clamav.net/downloads/production/clamav-${CLAMAV}.tar.gz | tar xfvz - \
|
|
&& cd clamav-${CLAMAV} \
|
|
&& cmake . \
|
|
-D CMAKE_INSTALL_PREFIX=/usr \
|
|
-D CMAKE_INSTALL_LIBDIR=/usr/lib \
|
|
-D APP_CONFIG_DIRECTORY=/etc/clamav \
|
|
-D CMAKE_INSTALL_MANDIR=/usr/share/man \
|
|
-D CMAKE_INSTALL_INFODIR=/usr/share/info \
|
|
-D CLAMAV_USER=clamav \
|
|
-D CLAMAV_GROUP=clamav \
|
|
-D DATABASE_DIRECTORY=/var/lib/clamav \
|
|
-D ENABLE_APP=ON \
|
|
-D ENABLE_JSON_SHARED=OFF \
|
|
-D CMAKE_BUILD_TYPE=MinSizeRel \
|
|
&& cmake --build . -j4 \
|
|
&& cmake --build . --target install \
|
|
&& cd .. && rm -rf clamav-${CLAMAV} \
|
|
&& apt-get -y --auto-remove purge build-essential \
|
|
&& apt-get -y purge pkg-config \
|
|
python3 \
|
|
python3-pip \
|
|
valgrind \
|
|
check \
|
|
libbz2-dev \
|
|
libcurl4-openssl-dev \
|
|
libjson-c-dev \
|
|
libmilter-dev \
|
|
libncurses5-dev \
|
|
libpcre2-dev \
|
|
libssl-dev \
|
|
libxml2-dev \
|
|
zlib1g-dev \
|
|
|
|
&& addgroup --system --gid 700 clamav \
|
|
&& adduser --system --no-create-home --home /var/lib/clamav --uid 700 --gid 700 --disabled-login clamav \
|
|
&& rm -rf /tmp/* /var/tmp/*
|
|
|
|
COPY clamd.sh ./
|
|
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /sbin/tini
|
|
RUN chmod +x /sbin/tini
|
|
|
|
CMD ["/sbin/tini", "-g", "--", "/clamd.sh"]
|