diff --git a/crowdsec/CHANGELOG.md b/crowdsec/CHANGELOG.md new file mode 100644 index 0000000..011d4b6 --- /dev/null +++ b/crowdsec/CHANGELOG.md @@ -0,0 +1,5 @@ +# Changelog + +## 1.6.0-1 + +- Bump crowdsec version to 1.6.0-1 \ No newline at end of file diff --git a/crowdsec/Dockerfile b/crowdsec/Dockerfile index 5683885..4bc2f7c 100644 --- a/crowdsec/Dockerfile +++ b/crowdsec/Dockerfile @@ -45,21 +45,21 @@ RUN echo "deb http://deb.debian.org/debian bullseye-backports main" >> /etc/apt/ #Add alias until env variables will be supported by crowdsec. RUN echo 'alias cscli="cscli -c /config/.storage/crowdsec/config/config.yaml"' > /root/.bashrc -COPY --from=crowdsecurity/crowdsec:v1.6.0 /staging/etc/crowdsec /etc/crowdsec -COPY --from=crowdsecurity/crowdsec:v1.6.0 /staging/var/lib/crowdsec /var/lib/crowdsec -COPY --from=crowdsecurity/crowdsec:v1.6.0 /usr/local/bin/crowdsec /usr/local/bin/crowdsec -COPY --from=crowdsecurity/crowdsec:v1.6.0 /usr/local/bin/cscli /usr/local/bin/cscli -COPY --from=crowdsecurity/crowdsec:v1.6.0 /docker_start.sh /docker_start.sh -COPY --from=crowdsecurity/crowdsec:v1.6.0 /staging/etc/crowdsec/config.yaml /etc/crowdsec/config.yaml +COPY --from=crowdsecurity/crowdsec:v1.6.0-1-debian /staging/etc/crowdsec /etc/crowdsec +COPY --from=crowdsecurity/crowdsec:v1.6.0-1-debian /staging/var/lib/crowdsec /var/lib/crowdsec +COPY --from=crowdsecurity/crowdsec:v1.6.0-1-debian /usr/local/bin/crowdsec /usr/local/bin/crowdsec +COPY --from=crowdsecurity/crowdsec:v1.6.0-1-debian /usr/local/bin/cscli /usr/local/bin/cscli +COPY --from=crowdsecurity/crowdsec:v1.6.0-1-debian /docker_start.sh /docker_start.sh +COPY --from=crowdsecurity/crowdsec:v1.6.0-1-debian /staging/etc/crowdsec/config.yaml /etc/crowdsec/config.yaml #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 #The files are here for reference, as users will need to mount a new version to be actually able to use notifications -COPY --from=crowdsecurity/crowdsec:v1.6.0 /staging/etc/crowdsec/notifications/email.yaml /etc/crowdsec/notifications/email.yaml -COPY --from=crowdsecurity/crowdsec:v1.6.0 /staging/etc/crowdsec/notifications/http.yaml /etc/crowdsec/notifications/http.yaml -COPY --from=crowdsecurity/crowdsec:v1.6.0 /staging/etc/crowdsec/notifications/slack.yaml /etc/crowdsec/notifications/slack.yaml -COPY --from=crowdsecurity/crowdsec:v1.6.0 /staging/etc/crowdsec/notifications/splunk.yaml /etc/crowdsec/notifications/splunk.yaml +COPY --from=crowdsecurity/crowdsec:v1.6.0-1-debian /staging/etc/crowdsec/notifications/email.yaml /etc/crowdsec/notifications/email.yaml +COPY --from=crowdsecurity/crowdsec:v1.6.0-1-debian /staging/etc/crowdsec/notifications/http.yaml /etc/crowdsec/notifications/http.yaml +COPY --from=crowdsecurity/crowdsec:v1.6.0-1-debian /staging/etc/crowdsec/notifications/slack.yaml /etc/crowdsec/notifications/slack.yaml +COPY --from=crowdsecurity/crowdsec:v1.6.0-1-debian /staging/etc/crowdsec/notifications/splunk.yaml /etc/crowdsec/notifications/splunk.yaml # workaround to avoid having build issue ("failed to create image: failed to get layer") RUN true -COPY --from=crowdsecurity/crowdsec:v1.6.0 /usr/local/lib/crowdsec/plugins /usr/local/lib/crowdsec/plugins +COPY --from=crowdsecurity/crowdsec:v1.6.0-1-debian /usr/local/lib/crowdsec/plugins /usr/local/lib/crowdsec/plugins # Copy root filesystem COPY rootfs / diff --git a/crowdsec/config.yaml b/crowdsec/config.yaml index c867cee..a6c8ff3 100644 --- a/crowdsec/config.yaml +++ b/crowdsec/config.yaml @@ -1,7 +1,7 @@ name: "Crowdsec" description: "CrowdSec - the open-source and participative IPS" url: "https://github.com/crowdsecurity/home-assistant-addons/blob/main/crowdsec/DOCS.md" -version: "1.6.0" +version: "1.6.0-1" slug: "crowdsec" init: false ingress: true