Update docker image
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
FROM nvidia/cuda:12.2.0-runtime-ubuntu22.04 AS base
|
FROM nvidia/cuda:12.8.1-cudnn-runtime-ubuntu24.04 AS base
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get upgrade -y && \
|
apt-get upgrade -y && \
|
||||||
apt install -y \
|
apt install -y \
|
||||||
@@ -37,7 +37,7 @@ RUN mkdir -p \
|
|||||||
|
|
||||||
# ITB tool setup
|
# ITB tool setup
|
||||||
FROM base AS itb-env
|
FROM base AS itb-env
|
||||||
RUN python3 -m venv /root/venvs/itb
|
RUN python3 -m venv /root/venvs/itb --system-site-packages
|
||||||
COPY ./tools/itb/setup.py /root/sia/tools/itb/setup.py
|
COPY ./tools/itb/setup.py /root/sia/tools/itb/setup.py
|
||||||
RUN /root/venvs/itb/bin/python /root/sia/tools/itb/setup.py egg_info
|
RUN /root/venvs/itb/bin/python /root/sia/tools/itb/setup.py egg_info
|
||||||
RUN --mount=type=cache,target=/root/.cache/pip \
|
RUN --mount=type=cache,target=/root/.cache/pip \
|
||||||
@@ -46,7 +46,7 @@ RUN rm -rf *.egg-info/
|
|||||||
|
|
||||||
# Train tool setup
|
# Train tool setup
|
||||||
FROM base AS train-env
|
FROM base AS train-env
|
||||||
RUN python3 -m venv /root/venvs/train
|
RUN python3 -m venv /root/venvs/train --system-site-packages
|
||||||
COPY ./tools/train/setup.py /root/sia/tools/train/setup.py
|
COPY ./tools/train/setup.py /root/sia/tools/train/setup.py
|
||||||
RUN /root/venvs/train/bin/python /root/sia/tools/train/setup.py egg_info
|
RUN /root/venvs/train/bin/python /root/sia/tools/train/setup.py egg_info
|
||||||
RUN --mount=type=cache,target=/root/.cache/pip \
|
RUN --mount=type=cache,target=/root/.cache/pip \
|
||||||
@@ -55,7 +55,7 @@ RUN rm -rf *.egg-info/
|
|||||||
|
|
||||||
# SIA core setup
|
# SIA core setup
|
||||||
FROM base AS sia-env
|
FROM base AS sia-env
|
||||||
RUN python3 -m venv /root/venvs/sia
|
RUN python3 -m venv /root/venvs/sia --system-site-packages
|
||||||
COPY ./setup.py /root/sia/setup.py
|
COPY ./setup.py /root/sia/setup.py
|
||||||
RUN /root/venvs/sia/bin/python /root/sia/setup.py egg_info
|
RUN /root/venvs/sia/bin/python /root/sia/setup.py egg_info
|
||||||
RUN sed -i '/\/root\/sia\/lib/d' *.egg-info/requires.txt
|
RUN sed -i '/\/root\/sia\/lib/d' *.egg-info/requires.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user