Skip to content

Commit

Permalink
Merge pull request #1887 from gchq/bugfix/clamav-filesystem-permissions
Browse files Browse the repository at this point in the history
fix bad clamav filesystem permissions
  • Loading branch information
PE39806 authored Feb 5, 2025
2 parents b218a6e + 6184945 commit c41e5ef
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker-compose-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ services:
- minioVolume:/bitnami/minio

clamd:
image: clamav/clamav:1.3
image: clamav/clamav:1.4.2_base
healthcheck:
test: ['CMD-SHELL', "echo 'PING' | nc -w 5 localhost 3310"]
interval: 30s
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ services:
- minioVolume:/bitnami/minio

clamd:
image: clamav/clamav:1.3
image: clamav/clamav:1.4.2_base
healthcheck:
test: ['CMD-SHELL', "echo 'PING' | nc -w 5 localhost 3310"]
interval: 30s
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ spec:
{{- end }}
securityContext:
runAsUser: {{ .Values.clamav.runAsUser }}
fsGroup: {{ .Values.clamav.runAsUser }}
containers:
- name: {{ include "bailo.fullname" . }}-clamav
ports:
Expand Down
2 changes: 1 addition & 1 deletion infrastructure/helm/bailo/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ backend:
clamav:
enabled: false
runAsUser: 1002
image: clamav/clamav:latest_base # https://docs.clamav.net/manual/Installing/Docker.html#the-official-images-on-docker-hub
image: clamav/1.4.2_base # https://docs.clamav.net/manual/Installing/Docker.html#the-official-images-on-docker-hub
port: 3310
accessModes:
- ReadWriteOnce
Expand Down

0 comments on commit c41e5ef

Please sign in to comment.