cenv/README.md
ben0i0d 7db1684a8b
Some checks failed
Flow / Base (push) Successful in 5s
Flow / C (push) Successful in 6s
Flow / Cpp (push) Successful in 6s
Flow / JDK (push) Successful in 5s
Flow / JRE (push) Successful in 6s
Flow / JS (push) Successful in 6s
Flow / CUDA_Base (push) Successful in 34s
Flow / Python (push) Successful in 6s
Flow / R (push) Successful in 6s
Flow / MC_BE (push) Successful in 7s
Flow / MC_JRE_8 (push) Successful in 8s
Flow / MC_JRE_11 (push) Successful in 7s
Flow / MC_JRE_17 (push) Successful in 7s
Flow / MC_JRE_21 (push) Successful in 6s
Flow / Steam (push) Successful in 6s
Flow / LLAMA (push) Successful in 7s
Flow / Hexo (push) Successful in 7s
Flow / Jupyterlite (push) Successful in 6s
Flow / Julia (push) Successful in 5s
Flow / Steam_Wine (push) Successful in 6s
Flow / CUDA_Runtime (push) Successful in 1m3s
Flow / CUDA_Devel (push) Successful in 2m10s
Flow / Push (push) Successful in 5m44s
Push_ghcr / Push (push) Failing after 29m49s
switch cuda & rocm to base & disable rocm(not support debian13)
2025-01-20 03:01:55 +08:00

1.5 KiB
Raw Permalink Blame History

Cenv

English | 中文

THIS doc for non-CN USER

ghcr.io: https://github.com/eoeair/cenv/pkgs/container/cenv

Our Gitea: https://eoelab.org:1027/eoeair/cenv

Prerequisites

  • CPU : nothing to do
  • ROCM : amdgpu-dkms -> Docker containers share the kernel with the host OS. Therefore, the ROCm kernel-mode driver (amdgpu-dkms) must be installed on the host.
  • CUDA : nvidia-container-toolkit/nvidia-docker2

Platform

  • OS : debian 13
  • ARCH : x86_64

Version

  • cuda: 12.4
  • rocm: 6.3

Usage

container

  • CPU just docker run -it
  • ROCM docker run --device /dev/kfd --device /dev/dri --security-opt seccomp=unconfined IMAGE

devcontainer(VScode)

cp -r .devcontainer WORKSDIR

Image dependencies

  • Program : development environment, primarily serving the devcontainer.
  • Renv : Runtime environment
  • GS : game server
graph LR

CPU-->B{Base}
B-->CUDA
B-->ROCM

B-->C{Renv}
C-->CA(Hexo)
C-->CB(Jupyterlite)

B-->G{GS}-->GA{MC}-->GAA(JAVA)
GAA-->GAAA(JRE_8)
GAA-->GAAB(JRE_11)
GAA-->GAAC(JRE_17)
GAA-->GAAD(JRE_21)

G-->GB{MCSM}-->GBA(Web)
GB-->GBB(Daemon)

G-->GC(steam)-->GCA(steam_wine)

B-->P{PROGRAM}
P-->PA(C)
P-->PB(Cpp)
P-->PC(Java)
PC-->PCA(Jdk)
PC-->PCB(Jre)
P-->PD(Js)
P-->PE(Julia)
P-->PF(Python)
P-->PG(R)

Upstream

Mirror source