Skip to content

Commit

Permalink
fix: use dnf instead of yum for new lambda Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
chlohilt committed May 16, 2024
1 parent 1e426d5 commit 700a6ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion log-analyzer/sorter-lambda/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM public.ecr.aws/lambda/nodejs:20

# Updating dependencies may fix potential security vulnerabilities
RUN yum update -y
RUN dnf update -y

# The lambda task root is where the source code should go
WORKDIR $LAMBDA_TASK_ROOT
Expand Down
2 changes: 1 addition & 1 deletion webhooks/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM public.ecr.aws/lambda/nodejs:20

# Updating dependencies may fix potential security vulnerabilities
RUN yum update -y
RUN dnf update -y

# The lambda task root is where the source code should go
WORKDIR $LAMBDA_TASK_ROOT
Expand Down

0 comments on commit 700a6ba

Please sign in to comment.