Removed env due to move to base image; updated Dockerfile to include SDKMAN and reflect env changes

This commit is contained in:
2026-04-24 17:15:08 -05:00
parent 5e05ffea16
commit d32acfaa8c
8 changed files with 8 additions and 244 deletions

View File

@@ -35,9 +35,8 @@ COPY package.json .
COPY src/* .
COPY Docker/scripts/run.sh .
COPY Docker/opt/ /opt/
COPY Docker/env/* /home/abaddon/
# 4. A: Install dependencies
# 4. A: Install system level dependencies
# RUN apt update
# RUN apt install
RUN apt-get update
@@ -51,11 +50,17 @@ RUN apt-get install -y \
clangd \
gopls
# 4. B: Install SDKMAN
USER abaddon
RUN curl -fsSL https://get.sdkman.io | bash
USER root
# 4. C: Install pyenv
RUN curl -fsSL https://pyenv.run | bash
RUN pyenv install ${PYTHON_VERSION} && pyenv global ${PYTHON_VERSION} && pyenv local ${PYTHON_VERSION}
RUN pip install --no-cache-dir -r requirements.txt
# 4. B: Install nvm and node
# 4. d: Install nvm and node
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v"${NVM_VERSION}"/install.sh | bash
RUN . "${NVM_DIR}/nvm.sh" && nvm install ${NODE_VERSION}
RUN . "${NVM_DIR}/nvm.sh" && nvm use v${NODE_VERSION}