Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
howardchung authored Jan 8, 2024
1 parent 7f768ec commit 49202d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ FROM maven:3.8.3-openjdk-8

# Install nodejs for log processing
ARG NODE_VERSION=20.10.0
RUN /bin/bash -c 'set -ex && if [ `uname -m` == "aarch64" ]; then ARCH="arm64" else ARCH="x64" fi'
ARG TARGETPLATFORM
RUN if [ "$TARGETPLATFORM" = "linux/arm64" ]; then ARCH="arm64"; else ARCH="x64"; fi
RUN curl https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-$ARCH.tar.gz | tar -xz -C /usr/local --strip-components 1

WORKDIR /usr/src/parser
Expand Down

0 comments on commit 49202d1

Please sign in to comment.