Skip to content

Commit

Permalink
Updated to ClamAV to 1.4.1 and explicitly set the platform. (#1443)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk authored Nov 3, 2024
1 parent 95b3d86 commit 904a946
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .docker/clamav.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# @see https://github.com/uselagoon/lagoon-images/tree/main/images/commons
FROM uselagoon/commons:24.10.0 AS commons

FROM clamav/clamav:1.4.0
FROM clamav/clamav:1.4.1

COPY --from=commons /lagoon /lagoon
COPY --from=commons /bin/fix-permissions /bin/ep /bin/docker-sleep /bin/wait-for /bin/
Expand Down
1 change: 1 addition & 0 deletions .vortex/tests/bats/fixtures/docker-compose.env.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
"networks": {
"default": null
},
"platform": "linux/amd64",
"ports": [
{
"mode": "ingress",
Expand Down
1 change: 1 addition & 0 deletions .vortex/tests/bats/fixtures/docker-compose.env_local.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
"networks": {
"default": null
},
"platform": "linux/amd64",
"ports": [
{
"mode": "ingress",
Expand Down
1 change: 1 addition & 0 deletions .vortex/tests/bats/fixtures/docker-compose.env_mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
"networks": {
"default": null
},
"platform": "linux/amd64",
"ports": [
{
"mode": "ingress",
Expand Down
1 change: 1 addition & 0 deletions .vortex/tests/bats/fixtures/docker-compose.noenv.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
"networks": {
"default": null
},
"platform": "linux/amd64",
"ports": [
{
"mode": "ingress",
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ services:
build:
context: .
dockerfile: .docker/clamav.dockerfile
platform: linux/amd64
ports:
- "3310" # Find port on host with `docker compose port clamav 3310`.
environment:
Expand Down

1 comment on commit 904a946

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.