Skip to content

Commit d081797

Browse files
committed
chore: upgrade Node.js version in lambda
# Why Node.js v18 is going EoL in September
1 parent da8dbd9 commit d081797

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/otelbin-validation-image/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ ADD ./rpm_download.sh /usr/app/rpm_download.sh
2424

2525
RUN /usr/app/rpm_download.sh
2626

27-
FROM public.ecr.aws/lambda/nodejs:18 AS builder
27+
FROM public.ecr.aws/lambda/nodejs:20 AS builder
2828

2929
WORKDIR /usr/app
3030
COPY package.json package.json
@@ -40,7 +40,7 @@ RUN unzip 0.6.0.zip
4040
WORKDIR /go/opentelemetry-lambda-layer-collector-0.6.0/collector
4141
RUN make package
4242

43-
FROM public.ecr.aws/lambda/nodejs:18
43+
FROM public.ecr.aws/lambda/nodejs:20
4444

4545
# Install useradd command needed by the OtelContrib RPM
4646
WORKDIR /tmp

0 commit comments

Comments
 (0)