crowdsec-agent (latest)
Installation
docker pull git.openso.de/openso/crowdsec-agent:latestsha256:84218e6e8fdd7c3f2ab2b9f9940ae56d550d023fab8a90be10e9a456548bbeddImage layers
| ADD alpine-minirootfs-3.24.3-x86_64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| RUN /bin/sh -c apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community tzdata bash rsync && mkdir -p /staging/etc/crowdsec && mkdir -p /staging/etc/crowdsec/acquis.d && mkdir -p /staging/var/lib/crowdsec && mkdir -p /var/lib/crowdsec/data # buildkit |
| COPY /go/bin/yq /usr/local/bin/crowdsec /usr/local/bin/cscli /usr/local/bin/ # buildkit |
| COPY /etc/crowdsec /staging/etc/crowdsec # buildkit |
| COPY /go/src/crowdsec/build/docker/docker_start.sh / # buildkit |
| COPY /go/src/crowdsec/build/docker/config.yaml /staging/etc/crowdsec/config.yaml # buildkit |
| COPY /var/lib/crowdsec /staging/var/lib/crowdsec # buildkit |
| RUN /bin/sh -c yq -n '.url="http://0.0.0.0:8080"' | install -m 0600 /dev/stdin /staging/etc/crowdsec/local_api_credentials.yaml # buildkit |
| ENTRYPOINT ["/bin/bash" "/docker_start.sh"] |
| COPY /usr/local/lib/crowdsec/plugins /usr/local/lib/crowdsec/plugins # buildkit |
| LABEL maintainer=openso |
| COPY /out/yq /usr/local/bin/yq # buildkit |
| COPY /su-exec /usr/local/bin/su-exec # buildkit |
| COPY entrypoint.crowdsec-agent.sh /usr/local/bin/entrypoint.crowdsec-agent.sh # buildkit |
| COPY crowdsec-agent-run.sh /usr/local/bin/crowdsec-agent-run.sh # buildkit |
| COPY crowdsec-agent-prepare.sh /usr/local/bin/crowdsec-agent-prepare.sh # buildkit |
| RUN /bin/sh -c awk ' /^exec crowdsec \$ARGS$/ && !inserted { print "/usr/local/bin/crowdsec-agent-prepare.sh"; inserted = 1 } { print } END { if (!inserted) exit 1 } ' /docker_start.sh > /tmp/docker_start.sh && mv /tmp/docker_start.sh /docker_start.sh && chmod 755 /docker_start.sh /usr/local/bin/yq /usr/local/bin/su-exec /usr/local/bin/entrypoint.crowdsec-agent.sh /usr/local/bin/crowdsec-agent-run.sh /usr/local/bin/crowdsec-agent-prepare.sh && yq --version # buildkit |
| ENTRYPOINT ["/usr/local/bin/entrypoint.crowdsec-agent.sh"] |
Labels
| Key | Value |
|---|---|
| maintainer | openso |
| org.opencontainers.image.created | 2026-10-29T09:35:04Z |
| org.opencontainers.image.revision | 3d369d64eb3e9ba770ed39aedc83ffd3170aef4c |
| org.opencontainers.image.source | https://github.com/crowdsecurity/crowdsec |
Details
2026-11-01 14:38:43 +01:00
Versions (2)
View all
Container
2
OCI / Docker
linux/amd64
174 MiB