Skip to content

Commit e18441d

Browse files
committed
fix: clamav version
1 parent 90050c2 commit e18441d

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

  • packages/cdk-s3-antivirus/src/layers/clamav

packages/cdk-s3-antivirus/src/layers/clamav/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM public.ecr.aws/lambda/provided:al2.2021.09.13.11
22

33
ARG asset_name=layer
4-
ARG CLAMAV_VERSION=0.103.3-5.el7
4+
ARG CLAMAV_VERSION=0.103.3-8.el7
55

66
USER root
77
RUN mkdir -p /opt/{lib,clamav}
@@ -10,8 +10,7 @@ RUN mkdir -p /opt/{lib,clamav}
1010
# tools
1111
#
1212
RUN yum install -y zip yum-utils amazon-linux-extras
13-
RUN amazon-linux-extras install epel -y
14-
RUN yum-config-manager --enable epel
13+
RUN amazon-linux-extras install epel -y && yum-config-manager --enable epel
1514

1615
#
1716
# layer

0 commit comments

Comments
 (0)