We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4778f8d commit 5e101daCopy full SHA for 5e101da
cdk/Dockerfile
@@ -13,8 +13,10 @@ RUN dnf install -y \
13
# Refresh definitions during the image build so the Lambda has no runtime
14
# dependency on internet access for virus database updates.
15
RUN mkdir -p /var/task/clamav_defs && \
16
- chmod -R 755 /var/task/clamav_defs && \
17
- freshclam --stdout --datadir=/var/task/clamav_defs
+ chown 999:999 /var/task/clamav_defs && \
+ chmod 775 /var/task/clamav_defs && \
18
+ freshclam --stdout --datadir=/var/task/clamav_defs && \
19
+ chmod -R a+rX /var/task/clamav_defs
20
21
# Copy Lambda function JAR into the image.
22
COPY lambda-jar/lambda-1.0.jar ${LAMBDA_TASK_ROOT}/lib/
0 commit comments