inital commit
This commit is contained in:
24
nextcloud-logmar.dockerfile
Normal file
24
nextcloud-logmar.dockerfile
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user