shibd commented on code in PR #288: URL: https://github.com/apache/pulsar-client-node/pull/288#discussion_r1072407893
########## pkg/linux/Dockerfile_linux_glibc: ########## @@ -17,15 +17,19 @@ # under the License. # -ARG NODE_VERSION +FROM centos:7 -FROM node:${NODE_VERSION}-buster +RUN yum update -y +RUN yum install -y gcc gcc-c++ make python3 -RUN apt-get update -y && \ - apt-get install -y \ - curl \ - g++ \ - make \ - python3 +ARG ARCH +WORKDIR /app +RUN SUFFIX=$(echo ${ARCH} | sed 's/86_//') && \ + echo $SUFFIX && \ + curl -O -L https://nodejs.org/download/release/v16.19.0/node-v16.19.0-linux-$SUFFIX.tar.gz && \ Review Comment: The GLIBCXX version is too high and is only related to the operating system environment, right? It has nothing to do with the Node.js version, right? The reason here is consistent with [workflow](https://github.com/apache/pulsar-client-node/blob/f5fe0c23a4e6cffe9d781271ea08f181bf5bf6e7/.github/workflows/ci-pr-validation.yml#L135-L136) is that the versions we provide to users are all compiled with the same node version (Linux, windows, macOS). BTW: The current TLS version of Node.js is 18. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@pulsar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org