FROM ubuntu:22.04 ENV DEBIAN_FRONTEND=noninteractive ENV NVM_DIR /usr/local/nvm ENV NODE_VERSION 18.14.0 RUN dpkg --add-architecture i386 \ && apt-get update -y \ && apt-get dist-upgrade -y RUN apt-get install -y \ curl \ expect \ git \ make \ openjdk-11-jdk \ wget \ unzip \ vim \ openssh-client \ locales \ libarchive-tools \ rsync RUN mkdir -p $NVM_DIR\ && mkdir /build \ && cd /build \ && curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash \ && bash $NVM_DIR/nvm.sh ENV NODE_PATH $NVM_DIR/v$NODE_VERSION/lib/node_modules ENV PATH $NVM_DIR/versions/node/v$NODE_VERSION/bin:$PATH COPY tools /opt/tools ENV PATH /opt/tools:$PATH CMD /opt/tools/start.sh