Skip to content

Commit

Permalink
Adding ClamAV 1.4.1
Browse files Browse the repository at this point in the history
Making ClamAV 1.4 the default
  • Loading branch information
bfren committed Dec 6, 2024
1 parent 732c41d commit 3a5af75
Show file tree
Hide file tree
Showing 12 changed files with 30 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
clamav: [ "0.104", "0.105", "1.1", "1.2" ]
clamav: [ "0.104", "0.105", "1.1", "1.2", "1.4" ]
runs-on: ubuntu-latest
steps:
-
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
clamav: [ "0.104", "0.105", "1.1", "1.2" ]
clamav: [ "0.104", "0.105", "1.1", "1.2", "1.4" ]
runs-on: ubuntu-latest
steps:
-
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
-
name: Build and push default tags
id: docker_build_default
if: matrix.clamav == '1.2'
if: matrix.clamav == '1.4'
uses: docker/build-push-action@v6
with:
context: .
Expand Down
2 changes: 1 addition & 1 deletion 1.2/overlay/tmp/CLAMAV_MINOR
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2.2
1.2
2 changes: 1 addition & 1 deletion 1.2/overlay/tmp/CLAMAV_REVISION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2
1.2.2
1 change: 1 addition & 0 deletions 1.4/ALPINE_MINOR
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.21
18 changes: 18 additions & 0 deletions 1.4/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
FROM ghcr.io/bfren/alpine-s6:alpine3.20-5.4.14

LABEL org.opencontainers.image.source="https://github.com/bfren/docker-clamav"

ARG BF_IMAGE
ARG BF_PUBLISHING
ARG BF_VERSION

COPY ./overlay /
COPY ./1.2/overlay /

EXPOSE 3310

ENV \
# the number of times per day freshclam will run to update definitions
BF_CLAMAV_FRESH_PER_DAY=12

RUN bf-install
1 change: 1 addition & 0 deletions 1.4/overlay/tmp/CLAMAV_BUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.4.1-r0
1 change: 1 addition & 0 deletions 1.4/overlay/tmp/CLAMAV_MINOR
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.4
1 change: 1 addition & 0 deletions 1.4/overlay/tmp/CLAMAV_REVISION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.4.1
2 changes: 1 addition & 1 deletion generate-dockerfiles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ docker pull bfren/alpine
BASE_VERSION="5.4.14"
echo "Base: ${BASE_VERSION}"

CLAMAV_VERSIONS="0.104 0.105 1.1 1.2"
CLAMAV_VERSIONS="0.104 0.105 1.1 1.2 1.4"
for V in ${CLAMAV_VERSIONS} ; do

echo "ClamAV ${V}"
Expand Down
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh

IMAGE=`cat VERSION`
CLAMAV=${1:-1.2}
CLAMAV=${1:-1.4}

docker buildx build \
--load \
Expand Down
2 changes: 1 addition & 1 deletion test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

IMAGE=clamav
VERSION=`cat VERSION`
CLAMAV=${1:-1.2}
CLAMAV=${1:-1.4}
TAG=${IMAGE}-test

docker buildx build \
Expand Down

0 comments on commit 3a5af75

Please sign in to comment.