Skip to content

Commit

Permalink
list and remove not needed sshd
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 f172f16 commit 0df705c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ 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; \
ls -l /etc/fail2ban/jail.d/; \
ls -l /etc/fail2ban/filter.d/; \
rm /etc/fail2ban/jail.d/sshd.conf

COPY --chmod=775 start.sh /start.sh

Expand Down

0 comments on commit 0df705c

Please sign in to comment.