Skip to content

Commit

Permalink
fix details
Browse files Browse the repository at this point in the history
Signed-off-by: Simon L <szaimen@e.mail.de>
  • Loading branch information
szaimen committed Sep 27, 2023
1 parent 441ea50 commit 4abbfe4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM alpine:3.18.3

# hadolint ignore=DL3018
RUN set -ex; \
apk add --no-cache fail2ban tzdata util-linux-misc bash; \
apk add --no-cache fail2ban tzdata util-linux-misc bash nftables; \
rm -r /etc/fail2ban/jail.d/*; \
rm -r /etc/fail2ban/filter.d/*

Expand Down
3 changes: 3 additions & 0 deletions start.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/bash

# Fix socket
rm -f /run/fail2ban/*

if ! mountpoint -q /nextcloud; then
echo "/nextcloud is not a mountpoint which it must be!"
exit 1
Expand Down

0 comments on commit 4abbfe4

Please sign in to comment.