diff --git a/Dockerfile b/Dockerfile index c8848329..b2970f53 100644 --- a/Dockerfile +++ b/Dockerfile @@ -314,11 +314,12 @@ RUN xx-verify /out/usr/bin/protoc-gen-lint FROM node:${NODE_IMAGE_VERSION} as protoc_gen_ts +ARG NODE_IMAGE_VERSION ARG PROTOC_GEN_TS_VERSION RUN npm install -g pkg ts-protoc-gen@${PROTOC_GEN_TS_VERSION} RUN pkg \ --compress Brotli \ - --targets node${NODE_VERSION}-alpine \ + --targets node${NODE_IMAGE_VERSION%%.*}-alpine \ -o protoc-gen-ts \ /usr/local/lib/node_modules/ts-protoc-gen RUN install -D protoc-gen-ts /out/usr/bin/protoc-gen-ts diff --git a/deps.list b/deps.list index db2c1e17..3c8fa7b0 100644 --- a/deps.list +++ b/deps.list @@ -6,7 +6,7 @@ GRPC_GATEWAY_VERSION=v2.14.0 GRPC_RUST_VERSION=v0.8.3 GRPC_SWIFT_VERSION=1.13.0 GRPC_WEB_VERSION=1.4.2 -NODE_IMAGE_VERSION=18.5.0-alpine3.16 +NODE_IMAGE_VERSION=18.12.1-alpine3.16 PROTOC_GEN_DART_VERSION=v20.0.1 PROTOC_GEN_DOC_VERSION=v1.5.1 PROTOC_GEN_GO_GRPC_VERSION=v1.51.0