Skip to content

Commit fbe0fbf

Browse files
committed
update dependencies and move CRS into Dockerfile for coraza
1 parent 4590d0f commit fbe0fbf

File tree

553 files changed

+21
-106450
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

553 files changed

+21
-106450
lines changed

.tests/clamav/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ services:
5050
- bw-docker
5151

5252
clamav:
53-
image: clamav/clamav:1.1
53+
image: clamav/clamav:1.2
5454
volumes:
5555
- clamav-data:/var/lib/clamav
5656
networks:

.tests/crowdsec/docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ services:
5656
- bw-docker
5757

5858
crowdsec:
59-
image: crowdsecurity/crowdsec:v1.5.2
59+
image: crowdsecurity/crowdsec:v1.5.5
6060
volumes:
6161
- cs-data:/var/lib/crowdsec/data
6262
- ./acquis.yaml:/etc/crowdsec/acquis.yaml
@@ -69,7 +69,7 @@ services:
6969
- bw-universe
7070

7171
syslog:
72-
image: balabit/syslog-ng:4.2.0
72+
image: balabit/syslog-ng:4.4.0
7373
command: --no-caps
7474
volumes:
7575
- ./syslog-ng.conf:/etc/syslog-ng/syslog-ng.conf

clamav/README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,11 @@ services:
4444
...
4545

4646
clamav:
47-
image: clamav/clamav:1.1
47+
image: clamav/clamav:1.2
4848
volumes:
4949
- ./clamav-data:/var/lib/clamav
5050
networks:
5151
- bw-plugins
52-
53-
redis:
54-
image: redis:7-alpine
5552
```
5653
5754
## Swarm
@@ -73,7 +70,7 @@ services:
7370
...
7471

7572
clamav:
76-
image: clamav/clamav:1.1
73+
image: clamav/clamav:1.2
7774
networks:
7875
- bw-plugins
7976

@@ -106,7 +103,7 @@ spec:
106103
spec:
107104
containers:
108105
- name: bunkerweb-clamav
109-
image: clamav/clamav:1.1
106+
image: clamav/clamav:1.2
110107
---
111108
apiVersion: v1
112109
kind: Service

coraza/api/Dockerfile

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.20-alpine AS builder
1+
FROM golang:1.21-alpine AS builder
22

33
WORKDIR /usr/src/app
44

@@ -7,7 +7,12 @@ RUN go get -d ./...
77
RUN go mod download && go mod verify
88
RUN go build -v -tags=coraza.rule.multiphase_evaluation -o /usr/local/bin/bw-coraza
99

10-
FROM golang:1.20-alpine
10+
COPY crs.sh .
11+
RUN apk add bash git && \
12+
chmod +x crs.sh && \
13+
./crs.sh Download
14+
15+
FROM golang:1.21-alpine
1116

1217
COPY --from=builder --chown=0:0 /usr/local/bin/bw-coraza /usr/local/bin/bw-coraza
1318

@@ -18,7 +23,7 @@ RUN addgroup -g 1000 coraza && \
1823

1924
WORKDIR /coraza
2025

21-
COPY --chown=0:1000 coreruleset ./coreruleset
26+
COPY --from=builder --chown=0:1000 /usr/src/app/coreruleset ./coreruleset
2227
COPY --chown=0:1000 coraza.conf bunkerweb*.conf ./
2328

2429
VOLUME /rules-before /rules-after

coraza/api/coreruleset/.editorconfig

Lines changed: 0 additions & 24 deletions
This file was deleted.

coraza/api/coreruleset/.github/FUNDING.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

coraza/api/coreruleset/.github/ISSUE_TEMPLATE/01_false-positive.md

Lines changed: 0 additions & 71 deletions
This file was deleted.

coraza/api/coreruleset/.github/ISSUE_TEMPLATE/02_false-negative.md

Lines changed: 0 additions & 71 deletions
This file was deleted.

coraza/api/coreruleset/.github/ISSUE_TEMPLATE/03_bug-report.md

Lines changed: 0 additions & 39 deletions
This file was deleted.

coraza/api/coreruleset/.github/ISSUE_TEMPLATE/04_feature.md

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)