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 5371ec7 commit 7f768ec
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,7 @@ 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'
RUN /bin/bash -c 'set -ex && if [ `uname -m` == "aarch64" ]; 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 7f768ec

Please sign in to comment.