From 2015ac12a2abb71d7a06bab1ea6818c2d023c021 Mon Sep 17 00:00:00 2001 From: Tadeusz Date: Mon, 19 Jan 2026 14:18:00 +0100 Subject: [PATCH] inital commit --- nextcloud-logmar.dockerfile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 nextcloud-logmar.dockerfile diff --git a/nextcloud-logmar.dockerfile b/nextcloud-logmar.dockerfile new file mode 100644 index 0000000..5312ec1 --- /dev/null +++ b/nextcloud-logmar.dockerfile @@ -0,0 +1,24 @@ +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