This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ARG BASEIMAGE=maven:3.9.9-eclipse-temurin-21-jammy | |
FROM ${BASEIMAGE} | |
USER root | |
RUN apt update && \ | |
apt install -y curl build-essential python3 && \ | |
apt clean | |
ENV NVM_DIR=/usr/local/nvm | |
ENV NODE_VERSION=22.10.0 | |
RUN mkdir -p $NVM_DIR | |
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash |