Skip to content

Commit 62838c1

Browse files
Red-GVpuckpuck
authored andcommitted
[frontend]: update genproto image to node22 (open-telemetry#2282)
Signed-off-by: Gerard Vanloo <[email protected]> Co-authored-by: Pierre Tessier <[email protected]>
1 parent 7fa62a2 commit 62838c1

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/frontend/genproto/Dockerfile

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
# Copyright The OpenTelemetry Authors
22
# SPDX-License-Identifier: Apache-2.0
33

4-
FROM node:20-alpine
4+
FROM node:22-alpine
55

66
WORKDIR /app
77

8-
RUN apk add --no-cache libc6-compat protobuf-dev protoc
8+
RUN apk update && \
9+
apk add --no-cache libc6-compat protobuf-dev protoc
910

10-
COPY ./src/frontend/package*.json ./
11+
COPY ./pb/ /build/pb/
1112

12-
RUN npm ci
13+
COPY ./src/frontend/package.json package.json
14+
COPY ./src/frontend/package-lock.json package-lock.json
1315

14-
COPY ./pb /build/pb
16+
RUN npm ci

0 commit comments

Comments
 (0)