Skip to content

Commit

Permalink
fix: errors with expanding archival files
Browse files Browse the repository at this point in the history
  • Loading branch information
dontirun committed Mar 11, 2024
1 parent f613589 commit 8b4b7fa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions assets/lambda/code/download_defs/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0

FROM --platform=linux/amd64 public.ecr.aws/lambda/python:3.11.2023.11.18.02
FROM --platform=linux/amd64 public.ecr.aws/lambda/python:3.12
LABEL name=lambda/python/clamav
LABEL version=1.0

ARG CACHE_DATE=1
RUN yum update -y \
&& yum -y install clamav clamd \
&& yum clean all \
RUN dnf update -y \
&& dnf -y install clamav clamav-update clamd \
&& dnf clean all \
&& pip3 install --no-cache-dir cffi awslambdaric boto3 requests aws-lambda-powertools \
&& ln -s /etc/freshclam.conf /tmp/freshclam.conf

Expand Down
8 changes: 4 additions & 4 deletions assets/lambda/code/scan/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0

FROM --platform=linux/amd64 public.ecr.aws/lambda/python:3.11.2023.11.18.02
FROM --platform=linux/amd64 public.ecr.aws/lambda/python:3.12
LABEL name=lambda/python/clamav
LABEL version=1.0

ARG CACHE_DATE=1
RUN yum update -y \
&& yum -y install clamav clamd p7zip \
&& yum clean all \
RUN dnf update -y \
&& dnf -y install clamav clamav-update clamd p7zip \
&& dnf clean all \
&& pip3 install --no-cache-dir cffi awslambdaric boto3 requests aws-lambda-powertools \
&& ln -s /etc/freshclam.conf /tmp/freshclam.conf

Expand Down

0 comments on commit 8b4b7fa

Please sign in to comment.