forked from eoeair/cenv
add vscode-extensions & C
This commit is contained in:
parent
19138cbb5a
commit
1d54976b11
@ -66,6 +66,18 @@ jobs:
|
||||
https_proxy=http://192.168.2.2:7890
|
||||
tags: eoelab.org:1027/${{ gitea.repository }}:rocm
|
||||
|
||||
C:
|
||||
runs-on: runner
|
||||
needs: Base
|
||||
steps:
|
||||
- name: checkout code
|
||||
uses: https://eoelab.org:1027/actions/checkout@v4
|
||||
- name: c build
|
||||
uses: https://eoelab.org:1027/actions/build-push-action@v6
|
||||
with:
|
||||
context: Program/c
|
||||
tags: eoelab.org:1027/${{ gitea.repository }}:c
|
||||
|
||||
Cpp:
|
||||
runs-on: runner
|
||||
needs: Base
|
||||
@ -88,7 +100,7 @@ jobs:
|
||||
uses: https://eoelab.org:1027/actions/build-push-action@v6
|
||||
with:
|
||||
context: Program/java/jdk
|
||||
tags: eoelab.org:1027/${{ gitea.repository }}:java
|
||||
tags: eoelab.org:1027/${{ gitea.repository }}:jdk
|
||||
|
||||
JRE:
|
||||
runs-on: runner
|
||||
@ -151,6 +163,17 @@ jobs:
|
||||
context: Program/r
|
||||
tags: eoelab.org:1027/${{ gitea.repository }}:r
|
||||
|
||||
MC_BE:
|
||||
runs-on: runner
|
||||
needs: Base
|
||||
steps:
|
||||
- name: checkout code
|
||||
uses: https://eoelab.org:1027/actions/checkout@v4
|
||||
- name: mc_be build
|
||||
uses: https://eoelab.org:1027/actions/build-push-action@v6
|
||||
with:
|
||||
context: GS/mc/be
|
||||
tags: eoelab.org:1027/${{ gitea.repository }}:mc_be
|
||||
|
||||
MC_JRE_8:
|
||||
runs-on: runner
|
||||
|
1
GS/mc/be/Dockerfile
Normal file
1
GS/mc/be/Dockerfile
Normal file
@ -0,0 +1 @@
|
||||
FROM eoelab.org:1027/ben0i0d/cenv:base
|
14
Program/c/.devcontainer/devcontainer.json
Normal file
14
Program/c/.devcontainer/devcontainer.json
Normal file
@ -0,0 +1,14 @@
|
||||
// For format details, see https://aka.ms/devcontainer.json.
|
||||
// For config options, see the README at: https://github.com/devcontainers/templates/tree/main/src/debian
|
||||
{
|
||||
"name": "c",
|
||||
|
||||
"image": "docker.io/ben0i0d/cenv:c",
|
||||
|
||||
// Configure vscode-extensions.
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": ["formulahendry.code-runner", "ms-vscode.cpptools-extension-pack"]
|
||||
}
|
||||
}
|
||||
}
|
7
Program/c/Dockerfile
Normal file
7
Program/c/Dockerfile
Normal file
@ -0,0 +1,7 @@
|
||||
FROM eoelab.org:1027/ben0i0d/cenv:base
|
||||
|
||||
USER root
|
||||
|
||||
RUN apt-get update --yes && apt-get install --yes gcc gdb cmake && apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR "${HOME}"
|
@ -1,19 +1,14 @@
|
||||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
||||
// README at: https://github.com/devcontainers/templates/tree/main/src/debian
|
||||
// For format details, see https://aka.ms/devcontainer.json.
|
||||
// For config options, see the README at: https://github.com/devcontainers/templates/tree/main/src/debian
|
||||
{
|
||||
"name": "cpp",
|
||||
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
||||
"image": "docker.io/ben0i0d/cenv:cpp"
|
||||
|
||||
"image": "docker.io/ben0i0d/cenv:cpp",
|
||||
|
||||
// Features to add to the dev container. More info: https://containers.dev/features.
|
||||
// "features": {},
|
||||
|
||||
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
||||
// "forwardPorts": [],
|
||||
|
||||
// Configure tool-specific properties.
|
||||
// "customizations": {},
|
||||
|
||||
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
||||
// "remoteUser": "root"
|
||||
// Configure vscode-extensions.
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": ["formulahendry.code-runner", "ms-vscode.cpptools-extension-pack"]
|
||||
}
|
||||
}
|
||||
}
|
@ -2,6 +2,6 @@ FROM eoelab.org:1027/ben0i0d/cenv:base
|
||||
|
||||
USER root
|
||||
|
||||
RUN apt-get update --yes && apt-get install --yes --no-install-recommends g++ gdb cmake && apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
RUN apt-get update --yes && apt-get install --yes g++ gdb cmake && apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR "${HOME}"
|
@ -1,19 +1,14 @@
|
||||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
||||
// README at: https://github.com/devcontainers/templates/tree/main/src/debian
|
||||
// For format details, see https://aka.ms/devcontainer.json.
|
||||
// For config options, see the README at: https://github.com/devcontainers/templates/tree/main/src/debian
|
||||
{
|
||||
"name": "java",
|
||||
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
||||
"image": "docker.io/ben0i0d/cenv:java"
|
||||
|
||||
// Features to add to the dev container. More info: https://containers.dev/features.
|
||||
// "features": {},
|
||||
|
||||
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
||||
// "forwardPorts": [],
|
||||
|
||||
// Configure tool-specific properties.
|
||||
// "customizations": {},
|
||||
|
||||
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
||||
// "remoteUser": "root"
|
||||
|
||||
"image": "docker.io/ben0i0d/cenv:java",
|
||||
|
||||
// Configure vscode-extensions.
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": ["vscjava.vscode-java-pack"]
|
||||
}
|
||||
}
|
||||
}
|
@ -1,19 +1,14 @@
|
||||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
||||
// README at: https://github.com/devcontainers/templates/tree/main/src/debian
|
||||
// For format details, see https://aka.ms/devcontainer.json.
|
||||
// For config options, see the README at: https://github.com/devcontainers/templates/tree/main/src/debian
|
||||
{
|
||||
"name": "JS",
|
||||
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
||||
"image": "docker.io/ben0i0d/cenv:js"
|
||||
|
||||
"image": "docker.io/ben0i0d/cenv:js",
|
||||
|
||||
// Features to add to the dev container. More info: https://containers.dev/features.
|
||||
// "features": {},
|
||||
|
||||
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
||||
// "forwardPorts": [],
|
||||
|
||||
// Configure tool-specific properties.
|
||||
// "customizations": {},
|
||||
|
||||
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
||||
// "remoteUser": "root"
|
||||
// Configure vscode-extensions.
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": ["ms-vscode.vscode-typescript-next"]
|
||||
}
|
||||
}
|
||||
}
|
@ -1,19 +1,14 @@
|
||||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
||||
// README at: https://github.com/devcontainers/templates/tree/main/src/debian
|
||||
// For format details, see https://aka.ms/devcontainer.json.
|
||||
// For config options, see the README at: https://github.com/devcontainers/templates/tree/main/src/debian
|
||||
{
|
||||
"name": "julia",
|
||||
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
||||
"image": "docker.io/ben0i0d/cenv:julia"
|
||||
|
||||
"image": "docker.io/ben0i0d/cenv:julia",
|
||||
|
||||
// Features to add to the dev container. More info: https://containers.dev/features.
|
||||
// "features": {},
|
||||
|
||||
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
||||
// "forwardPorts": [],
|
||||
|
||||
// Configure tool-specific properties.
|
||||
// "customizations": {},
|
||||
|
||||
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
||||
// "remoteUser": "root"
|
||||
// Configure vscode-extensions.
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": ["julialang.language-julia"]
|
||||
}
|
||||
}
|
||||
}
|
@ -1,19 +1,13 @@
|
||||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
||||
// README at: https://github.com/devcontainers/templates/tree/main/src/debian
|
||||
// For format details, see https://aka.ms/devcontainer.json.
|
||||
// For config options, see the README at: https://github.com/devcontainers/templates/tree/main/src/debian
|
||||
{
|
||||
"name": "python",
|
||||
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
||||
"image": "docker.io/ben0i0d/cenv:python"
|
||||
|
||||
// Features to add to the dev container. More info: https://containers.dev/features.
|
||||
// "features": {},
|
||||
|
||||
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
||||
// "forwardPorts": [],
|
||||
|
||||
// Configure tool-specific properties.
|
||||
// "customizations": {},
|
||||
|
||||
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
||||
// "remoteUser": "root"
|
||||
|
||||
"image": "docker.io/ben0i0d/cenv:python",
|
||||
// Configure vscode-extensions.
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": ["ms-python.python", "donjayamanne.python-environment-manager", "ms-python.vscode-pylance", "ms-toolsai.jupyter"]
|
||||
}
|
||||
}
|
||||
}
|
@ -1,19 +1,14 @@
|
||||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
||||
// README at: https://github.com/devcontainers/templates/tree/main/src/debian
|
||||
// For format details, see https://aka.ms/devcontainer.json.
|
||||
// For config options, see the README at: https://github.com/devcontainers/templates/tree/main/src/debian
|
||||
{
|
||||
"name": "r",
|
||||
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
||||
"image": "docker.io/ben0i0d/cenv:r"
|
||||
|
||||
// Features to add to the dev container. More info: https://containers.dev/features.
|
||||
// "features": {},
|
||||
"image": "docker.io/ben0i0d/cenv:r",
|
||||
|
||||
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
||||
// "forwardPorts": [],
|
||||
|
||||
// Configure tool-specific properties.
|
||||
// "customizations": {},
|
||||
|
||||
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
||||
// "remoteUser": "root"
|
||||
// Configure vscode-extensions.
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": ["reditorsupport.r", "rdebugger.r-debugger"]
|
||||
}
|
||||
}
|
||||
}
|
17
README.md
17
README.md
@ -36,14 +36,15 @@ CUDA-->B
|
||||
ROCM-->B
|
||||
|
||||
B-->P{PROGRAM}
|
||||
P-->PA(Cpp)
|
||||
P-->PB(Java)
|
||||
PB-->PBA(Jdk)
|
||||
PB-->PBB(Jre)
|
||||
P-->PC(Js)
|
||||
P-->PD(Julia)
|
||||
P-->PE(Python)
|
||||
P-->PF(R)
|
||||
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)
|
||||
|
||||
B-->G{GameServer}-->GA{MC}-->GAA(JAVA)
|
||||
GAA-->GAAA(JRE_8)
|
||||
|
17
README_CN.md
17
README_CN.md
@ -36,14 +36,15 @@ CUDA-->B
|
||||
ROCM-->B
|
||||
|
||||
B-->P{PROGRAM}
|
||||
P-->PA(Cpp)
|
||||
P-->PB(Java)
|
||||
PB-->PBA(Jdk)
|
||||
PB-->PBB(Jre)
|
||||
P-->PC(Js)
|
||||
P-->PD(Julia)
|
||||
P-->PE(Python)
|
||||
P-->PF(R)
|
||||
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)
|
||||
|
||||
B-->G{GameServer}-->GA{MC}-->GAA(JAVA)
|
||||
GAA-->GAAA(JRE_8)
|
||||
|
@ -1,19 +1,6 @@
|
||||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
||||
// README at: https://github.com/devcontainers/templates/tree/main/src/debian
|
||||
// For format details, see https://aka.ms/devcontainer.json.
|
||||
// For config options, see the README at: https://github.com/devcontainers/templates/tree/main/src/debian
|
||||
{
|
||||
"name": "base",
|
||||
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
||||
"image": "docker.io/ben0i0d/cenv:base"
|
||||
|
||||
// Features to add to the dev container. More info: https://containers.dev/features.
|
||||
// "features": {},
|
||||
|
||||
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
||||
// "forwardPorts": [],
|
||||
|
||||
// Configure tool-specific properties.
|
||||
// "customizations": {},
|
||||
|
||||
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
||||
// "remoteUser": "root"
|
||||
}
|
@ -1,19 +1,7 @@
|
||||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
||||
// README at: https://github.com/devcontainers/templates/tree/main/src/debian
|
||||
// For format details, see https://aka.ms/devcontainer.json.
|
||||
// For config options, see the README at: https://github.com/devcontainers/templates/tree/main/src/debian
|
||||
{
|
||||
"name": "rocm",
|
||||
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
||||
"image": "eoelab.org:1027/ben0i0d/cenv:rocm",
|
||||
"runArgs": ["--device","/dev/kfd", "--device","/dev/dri", "--security-opt", "seccomp=unconfined", "--shm-size","4G"]
|
||||
// Features to add to the dev container. More info: https://containers.dev/features.
|
||||
// "features": {},
|
||||
|
||||
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
||||
// "forwardPorts": [],
|
||||
|
||||
// Configure tool-specific properties.
|
||||
// "customizations": {},
|
||||
|
||||
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
||||
// "remoteUser": "root"
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user