Skip to content

Commit 5943173

Browse files
authored
Updating to v1.7.4 (#92)
1 parent 82f7abb commit 5943173

File tree

3 files changed

+16
-12
lines changed

3 files changed

+16
-12
lines changed

crowdsec/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 1.7.4
4+
5+
- Bump crowdsec version to 1.7.4
6+
37
## 1.7.2
48

59
- Bump crowdsec version to 1.7.2

crowdsec/Dockerfile

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -46,18 +46,18 @@ RUN echo "deb http://deb.debian.org/debian bookworm-backports main" >> /etc/apt/
4646
#Add alias until env variables will be supported by crowdsec.
4747
RUN echo 'alias cscli="cscli -c /config/.storage/crowdsec/config/config.yaml"' > /root/.bashrc
4848

49-
COPY --from=crowdsecurity/crowdsec:v1.7.2 /staging/etc/crowdsec /etc/crowdsec
50-
COPY --from=crowdsecurity/crowdsec:v1.7.2 /staging/var/lib/crowdsec /var/lib/crowdsec
51-
COPY --from=crowdsecurity/crowdsec:v1.7.2 /usr/local/bin/crowdsec /usr/local/bin/crowdsec
52-
COPY --from=crowdsecurity/crowdsec:v1.7.2 /usr/local/bin/cscli /usr/local/bin/cscli
53-
COPY --from=crowdsecurity/crowdsec:v1.7.2 /docker_start.sh /docker_start.sh
54-
COPY --from=crowdsecurity/crowdsec:v1.7.2 /staging/etc/crowdsec/config.yaml /etc/crowdsec/config.yaml
49+
COPY --from=crowdsecurity/crowdsec:v1.7.4 /staging/etc/crowdsec /etc/crowdsec
50+
COPY --from=crowdsecurity/crowdsec:v1.7.4 /staging/var/lib/crowdsec /var/lib/crowdsec
51+
COPY --from=crowdsecurity/crowdsec:v1.7.4 /usr/local/bin/crowdsec /usr/local/bin/crowdsec
52+
COPY --from=crowdsecurity/crowdsec:v1.7.4 /usr/local/bin/cscli /usr/local/bin/cscli
53+
COPY --from=crowdsecurity/crowdsec:v1.7.4 /docker_start.sh /docker_start.sh
54+
COPY --from=crowdsecurity/crowdsec:v1.7.4 /staging/etc/crowdsec/config.yaml /etc/crowdsec/config.yaml
5555
#Due to the wizard using cp -n, we have to copy the config files directly from the source as -n does not exist in busybox cp
5656
#The files are here for reference, as users will need to mount a new version to be actually able to use notifications
57-
COPY --from=crowdsecurity/crowdsec:v1.7.2 /staging/etc/crowdsec/notifications/email.yaml /etc/crowdsec/notifications/email.yaml
58-
COPY --from=crowdsecurity/crowdsec:v1.7.2 /staging/etc/crowdsec/notifications/http.yaml /etc/crowdsec/notifications/http.yaml
59-
COPY --from=crowdsecurity/crowdsec:v1.7.2 /staging/etc/crowdsec/notifications/slack.yaml /etc/crowdsec/notifications/slack.yaml
60-
COPY --from=crowdsecurity/crowdsec:v1.7.2 /staging/etc/crowdsec/notifications/splunk.yaml /etc/crowdsec/notifications/splunk.yaml
57+
COPY --from=crowdsecurity/crowdsec:v1.7.4 /staging/etc/crowdsec/notifications/email.yaml /etc/crowdsec/notifications/email.yaml
58+
COPY --from=crowdsecurity/crowdsec:v1.7.4 /staging/etc/crowdsec/notifications/http.yaml /etc/crowdsec/notifications/http.yaml
59+
COPY --from=crowdsecurity/crowdsec:v1.7.4 /staging/etc/crowdsec/notifications/slack.yaml /etc/crowdsec/notifications/slack.yaml
60+
COPY --from=crowdsecurity/crowdsec:v1.7.4 /staging/etc/crowdsec/notifications/splunk.yaml /etc/crowdsec/notifications/splunk.yaml
6161
# This is an ugly workaround for an issue reported on discord
6262
# The container fails to start with the error "ln: failed to create symbolic link '/var/lib/crowdsec/data/*': File exists"
6363
# In the HA container, /staging/var/lib/crowdsec/data/ does not exist, and the crowdsec docker_start.sh script loops
@@ -68,7 +68,7 @@ COPY --from=crowdsecurity/crowdsec:v1.7.2 /staging/etc/crowdsec/notifications/sp
6868
RUN mkdir -p /staging/var/lib/crowdsec/data/ && touch /staging/var/lib/crowdsec/data/crowdsec.db
6969
# workaround to avoid having build issue ("failed to create image: failed to get layer")
7070
RUN true
71-
COPY --from=crowdsecurity/crowdsec:v1.7.2 /usr/local/lib/crowdsec/plugins /usr/local/lib/crowdsec/plugins
71+
COPY --from=crowdsecurity/crowdsec:v1.7.4 /usr/local/lib/crowdsec/plugins /usr/local/lib/crowdsec/plugins
7272

7373
# Copy root filesystem
7474
COPY rootfs /

crowdsec/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: "Crowdsec"
22
description: "CrowdSec - the open-source and participative IPS"
33
url: "https://github.com/crowdsecurity/home-assistant-addons/blob/main/crowdsec/DOCS.md"
4-
version: "1.7.2"
4+
version: "1.7.4"
55
slug: "crowdsec"
66
init: false
77
ingress: true

0 commit comments

Comments
 (0)