Files
nextcloud-logmar/nextcloud-logmar.dockerfile
2026-01-19 14:18:00 +01:00

25 lines
849 B
Docker

FROM nextcloud:latest
RUN apt-get update && apt-get install -y \
smbclient \
libsmbclient-dev \
clamav \
clamav-daemon \
sudo \
wget \
&& rm -rf /var/lib/apt/lists/*
# --- INSTALL NOTIFY_PUSH BINARY ---
# Set the version you want to install (check https://github.com/nextcloud/notify_push/releases)
ARG NOTIFY_PUSH_VERSION=v1.2.1
# Download the official binary for x86_64 (amd64) architecture
RUN wget -O /usr/local/bin/notify_push \
"https://github.com/nextcloud/notify_push/releases/download/${NOTIFY_PUSH_VERSION}/notify_push-x86_64-unknown-linux-musl" \
&& chmod +x /usr/local/bin/notify_push
# ----------------------------------
# (Opcjonalnie)
#RUN freshclam --verbose || echo "Database update attempt finished" \
# && mkdir -p /var/run/clamav \
# && chown -R www-data:www-data /var/run/clamav