1
0
forked from eoeair/cenv
This commit is contained in:
ben0i0d 2024-12-08 20:15:46 +08:00
parent db37156427
commit 61b196aa40
5 changed files with 53 additions and 23 deletions

View File

@ -127,6 +127,18 @@ jobs:
context: Program/js
tags: eoelab.org:1027/${{ gitea.repository }}:js
Hexo:
runs-on: runner
needs: JS
steps:
- name: checkout code
uses: https://eoelab.org:1027/actions/checkout@v4
- name: hexo build
uses: https://eoelab.org:1027/actions/build-push-action@v6
with:
context: CI/hexo
tags: eoelab.org:1027/${{ gitea.repository }}:hexo
Python:
runs-on: runner
needs: Base

5
CI/hexo/Dockerfile Normal file
View File

@ -0,0 +1,5 @@
FROM eoelab.org:1027/ben0i0d/cenv:js
RUN apt-get update --yes && apt-get install --yes --no-install-recommends git && apt-get clean && rm -rf /var/lib/apt/lists/* && \
npm install hexo-cli hexo-deployer-git -g && \
npm cache clean --force

View File

@ -1,3 +1,4 @@
FROM eoelab.org:1027/ben0i0d/cenv:base
RUN apt-get update --yes && apt-get install --yes --no-install-recommends nodejs npm && apt-get clean && rm -rf /var/lib/apt/lists/*
RUN apt-get update --yes && apt-get install --yes --no-install-recommends nodejs npm && apt-get clean && rm -rf /var/lib/apt/lists/* && \
npm config set registry https://registry.npmmirror.com

View File

@ -28,6 +28,9 @@ English | [中文](README_CN.md)
`cp -r .devcontainer WORKSDIR`
## Image dependencies
* `Program` : development environment, primarily serving the devcontainer.
* `CI` : CI job environment
* `GS` : game server
```mermaid
graph LR
@ -35,6 +38,20 @@ CPU-->B{Base}
CUDA-->B
ROCM-->B
B-->C{CI}
C-->CA(Hexo)
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)
@ -45,17 +62,6 @@ P-->PD(Js)
P-->PE(Julia)
P-->PF(Python)
P-->PG(R)
B-->G{GameServer}-->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)
```
## Upstream
* NVIDIA: https://gitlab.com/nvidia/container-images/cuda

View File

@ -28,6 +28,9 @@ English | [中文](README_CN.md)
`cp -r .devcontainer WORKSDIR`
## 镜像依赖
* `Program`:开发环境主要为devcontainer
* `CI`:CI作业环境
* `GS`:游戏服务器
```mermaid
graph LR
@ -35,6 +38,20 @@ CPU-->B{Base}
CUDA-->B
ROCM-->B
B-->C{CI}
C-->CA(Hexo)
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)
@ -45,17 +62,6 @@ P-->PD(Js)
P-->PE(Julia)
P-->PF(Python)
P-->PG(R)
B-->G{GameServer}-->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)
```
## 镜像源