From 77b85d98c585fa5220a579051e969591a1f3324b Mon Sep 17 00:00:00 2001 From: cbluebird Date: Tue, 10 Sep 2024 17:13:12 +0800 Subject: [PATCH] pref: Update Dockerfiles for framework runtimes --- .../vue/{vue3.4.29 => v3.4.29}/Dockerfile | 2 +- .../{vue3.4.29 => v3.4.29}/project/index.html | 0 .../project/jsconfig.json | 0 .../project/package.json | 0 .../project/public/favicon.ico | Bin .../project/src/App.vue | 0 .../project/src/assets/base.css | 0 .../project/src/assets/logo.svg | 0 .../project/src/assets/main.css | 0 .../project/src/components/HelloWorld.vue | 0 .../project/src/components/TheWelcome.vue | 0 .../project/src/components/WelcomeItem.vue | 0 .../src/components/icons/IconCommunity.vue | 0 .../components/icons/IconDocumentation.vue | 0 .../src/components/icons/IconEcosystem.vue | 0 .../src/components/icons/IconSupport.vue | 0 .../src/components/icons/IconTooling.vue | 0 .../project/src/main.js | 0 .../project/vite.config.js | 0 .../flask/flask3.0.3/runtime-flask3.0.3.yaml | 21 ------------------ .../gin/gin1.10.0/runtime-gin1.10.0.yaml | 21 ------------------ .../nextjs14.2.5/runtime-nextjs14.2.5.yaml | 21 ------------------ .../runtime-spring-boot3.3.2.yaml | 21 ------------------ .../vue/vue3.4.29/runtime-vue3.4.29.yaml | 21 ------------------ 24 files changed, 1 insertion(+), 106 deletions(-) rename Framework/vue/{vue3.4.29 => v3.4.29}/Dockerfile (81%) rename Framework/vue/{vue3.4.29 => v3.4.29}/project/index.html (100%) rename Framework/vue/{vue3.4.29 => v3.4.29}/project/jsconfig.json (100%) rename Framework/vue/{vue3.4.29 => v3.4.29}/project/package.json (100%) rename Framework/vue/{vue3.4.29 => v3.4.29}/project/public/favicon.ico (100%) rename Framework/vue/{vue3.4.29 => v3.4.29}/project/src/App.vue (100%) rename Framework/vue/{vue3.4.29 => v3.4.29}/project/src/assets/base.css (100%) rename Framework/vue/{vue3.4.29 => v3.4.29}/project/src/assets/logo.svg (100%) rename Framework/vue/{vue3.4.29 => v3.4.29}/project/src/assets/main.css (100%) rename Framework/vue/{vue3.4.29 => v3.4.29}/project/src/components/HelloWorld.vue (100%) rename Framework/vue/{vue3.4.29 => v3.4.29}/project/src/components/TheWelcome.vue (100%) rename Framework/vue/{vue3.4.29 => v3.4.29}/project/src/components/WelcomeItem.vue (100%) rename Framework/vue/{vue3.4.29 => v3.4.29}/project/src/components/icons/IconCommunity.vue (100%) rename Framework/vue/{vue3.4.29 => v3.4.29}/project/src/components/icons/IconDocumentation.vue (100%) rename Framework/vue/{vue3.4.29 => v3.4.29}/project/src/components/icons/IconEcosystem.vue (100%) rename Framework/vue/{vue3.4.29 => v3.4.29}/project/src/components/icons/IconSupport.vue (100%) rename Framework/vue/{vue3.4.29 => v3.4.29}/project/src/components/icons/IconTooling.vue (100%) rename Framework/vue/{vue3.4.29 => v3.4.29}/project/src/main.js (100%) rename Framework/vue/{vue3.4.29 => v3.4.29}/project/vite.config.js (100%) delete mode 100644 yaml/Framework/flask/flask3.0.3/runtime-flask3.0.3.yaml delete mode 100644 yaml/Framework/gin/gin1.10.0/runtime-gin1.10.0.yaml delete mode 100644 yaml/Framework/nextjs/nextjs14.2.5/runtime-nextjs14.2.5.yaml delete mode 100644 yaml/Framework/spring-boot/spring-boot3.3.2/runtime-spring-boot3.3.2.yaml delete mode 100644 yaml/Framework/vue/vue3.4.29/runtime-vue3.4.29.yaml diff --git a/Framework/vue/vue3.4.29/Dockerfile b/Framework/vue/v3.4.29/Dockerfile similarity index 81% rename from Framework/vue/vue3.4.29/Dockerfile rename to Framework/vue/v3.4.29/Dockerfile index bba73930..e7fd9dbb 100644 --- a/Framework/vue/vue3.4.29/Dockerfile +++ b/Framework/vue/v3.4.29/Dockerfile @@ -1,4 +1,4 @@ -FROM ghcr.io/labring-actions/devbox/nodejs20:b50472 +FROM ghcr.io/labring-actions/devbox/nodejs-20:d8bfae COPY /Framework/vue/vue3.4.29/project /home/sealos/project diff --git a/Framework/vue/vue3.4.29/project/index.html b/Framework/vue/v3.4.29/project/index.html similarity index 100% rename from Framework/vue/vue3.4.29/project/index.html rename to Framework/vue/v3.4.29/project/index.html diff --git a/Framework/vue/vue3.4.29/project/jsconfig.json b/Framework/vue/v3.4.29/project/jsconfig.json similarity index 100% rename from Framework/vue/vue3.4.29/project/jsconfig.json rename to Framework/vue/v3.4.29/project/jsconfig.json diff --git a/Framework/vue/vue3.4.29/project/package.json b/Framework/vue/v3.4.29/project/package.json similarity index 100% rename from Framework/vue/vue3.4.29/project/package.json rename to Framework/vue/v3.4.29/project/package.json diff --git a/Framework/vue/vue3.4.29/project/public/favicon.ico b/Framework/vue/v3.4.29/project/public/favicon.ico similarity index 100% rename from Framework/vue/vue3.4.29/project/public/favicon.ico rename to Framework/vue/v3.4.29/project/public/favicon.ico diff --git a/Framework/vue/vue3.4.29/project/src/App.vue b/Framework/vue/v3.4.29/project/src/App.vue similarity index 100% rename from Framework/vue/vue3.4.29/project/src/App.vue rename to Framework/vue/v3.4.29/project/src/App.vue diff --git a/Framework/vue/vue3.4.29/project/src/assets/base.css b/Framework/vue/v3.4.29/project/src/assets/base.css similarity index 100% rename from Framework/vue/vue3.4.29/project/src/assets/base.css rename to Framework/vue/v3.4.29/project/src/assets/base.css diff --git a/Framework/vue/vue3.4.29/project/src/assets/logo.svg b/Framework/vue/v3.4.29/project/src/assets/logo.svg similarity index 100% rename from Framework/vue/vue3.4.29/project/src/assets/logo.svg rename to Framework/vue/v3.4.29/project/src/assets/logo.svg diff --git a/Framework/vue/vue3.4.29/project/src/assets/main.css b/Framework/vue/v3.4.29/project/src/assets/main.css similarity index 100% rename from Framework/vue/vue3.4.29/project/src/assets/main.css rename to Framework/vue/v3.4.29/project/src/assets/main.css diff --git a/Framework/vue/vue3.4.29/project/src/components/HelloWorld.vue b/Framework/vue/v3.4.29/project/src/components/HelloWorld.vue similarity index 100% rename from Framework/vue/vue3.4.29/project/src/components/HelloWorld.vue rename to Framework/vue/v3.4.29/project/src/components/HelloWorld.vue diff --git a/Framework/vue/vue3.4.29/project/src/components/TheWelcome.vue b/Framework/vue/v3.4.29/project/src/components/TheWelcome.vue similarity index 100% rename from Framework/vue/vue3.4.29/project/src/components/TheWelcome.vue rename to Framework/vue/v3.4.29/project/src/components/TheWelcome.vue diff --git a/Framework/vue/vue3.4.29/project/src/components/WelcomeItem.vue b/Framework/vue/v3.4.29/project/src/components/WelcomeItem.vue similarity index 100% rename from Framework/vue/vue3.4.29/project/src/components/WelcomeItem.vue rename to Framework/vue/v3.4.29/project/src/components/WelcomeItem.vue diff --git a/Framework/vue/vue3.4.29/project/src/components/icons/IconCommunity.vue b/Framework/vue/v3.4.29/project/src/components/icons/IconCommunity.vue similarity index 100% rename from Framework/vue/vue3.4.29/project/src/components/icons/IconCommunity.vue rename to Framework/vue/v3.4.29/project/src/components/icons/IconCommunity.vue diff --git a/Framework/vue/vue3.4.29/project/src/components/icons/IconDocumentation.vue b/Framework/vue/v3.4.29/project/src/components/icons/IconDocumentation.vue similarity index 100% rename from Framework/vue/vue3.4.29/project/src/components/icons/IconDocumentation.vue rename to Framework/vue/v3.4.29/project/src/components/icons/IconDocumentation.vue diff --git a/Framework/vue/vue3.4.29/project/src/components/icons/IconEcosystem.vue b/Framework/vue/v3.4.29/project/src/components/icons/IconEcosystem.vue similarity index 100% rename from Framework/vue/vue3.4.29/project/src/components/icons/IconEcosystem.vue rename to Framework/vue/v3.4.29/project/src/components/icons/IconEcosystem.vue diff --git a/Framework/vue/vue3.4.29/project/src/components/icons/IconSupport.vue b/Framework/vue/v3.4.29/project/src/components/icons/IconSupport.vue similarity index 100% rename from Framework/vue/vue3.4.29/project/src/components/icons/IconSupport.vue rename to Framework/vue/v3.4.29/project/src/components/icons/IconSupport.vue diff --git a/Framework/vue/vue3.4.29/project/src/components/icons/IconTooling.vue b/Framework/vue/v3.4.29/project/src/components/icons/IconTooling.vue similarity index 100% rename from Framework/vue/vue3.4.29/project/src/components/icons/IconTooling.vue rename to Framework/vue/v3.4.29/project/src/components/icons/IconTooling.vue diff --git a/Framework/vue/vue3.4.29/project/src/main.js b/Framework/vue/v3.4.29/project/src/main.js similarity index 100% rename from Framework/vue/vue3.4.29/project/src/main.js rename to Framework/vue/v3.4.29/project/src/main.js diff --git a/Framework/vue/vue3.4.29/project/vite.config.js b/Framework/vue/v3.4.29/project/vite.config.js similarity index 100% rename from Framework/vue/vue3.4.29/project/vite.config.js rename to Framework/vue/v3.4.29/project/vite.config.js diff --git a/yaml/Framework/flask/flask3.0.3/runtime-flask3.0.3.yaml b/yaml/Framework/flask/flask3.0.3/runtime-flask3.0.3.yaml deleted file mode 100644 index 2b6a042a..00000000 --- a/yaml/Framework/flask/flask3.0.3/runtime-flask3.0.3.yaml +++ /dev/null @@ -1,21 +0,0 @@ -apiVersion: devbox.sealos.io/v1alpha1 -kind: Runtime -metadata: - name: flask3-0-3 -spec: - title: flask3.0.3 - classRef: flask - description: "flask3.0.3" - config: - user: sealos - image: ghcr.io/labring-actions/devbox/flask3.0.3:6441eb - category: ---- -apiVersion: devbox.sealos.io/v1alpha1 -kind: RuntimeClass -metadata: - name: flask -spec: - title: flask - kind: Framework - description: "flask" diff --git a/yaml/Framework/gin/gin1.10.0/runtime-gin1.10.0.yaml b/yaml/Framework/gin/gin1.10.0/runtime-gin1.10.0.yaml deleted file mode 100644 index 873f2a3e..00000000 --- a/yaml/Framework/gin/gin1.10.0/runtime-gin1.10.0.yaml +++ /dev/null @@ -1,21 +0,0 @@ -apiVersion: devbox.sealos.io/v1alpha1 -kind: Runtime -metadata: - name: gin1-10-0 -spec: - title: gin1.10.0 - classRef: gin - description: "gin1.10.0" - config: - user: sealos - image: ghcr.io/labring-actions/devbox/gin1.10.0:2765ff - category: ---- -apiVersion: devbox.sealos.io/v1alpha1 -kind: RuntimeClass -metadata: - name: gin -spec: - title: gin - kind: Framework - description: "gin" diff --git a/yaml/Framework/nextjs/nextjs14.2.5/runtime-nextjs14.2.5.yaml b/yaml/Framework/nextjs/nextjs14.2.5/runtime-nextjs14.2.5.yaml deleted file mode 100644 index 9cc2c339..00000000 --- a/yaml/Framework/nextjs/nextjs14.2.5/runtime-nextjs14.2.5.yaml +++ /dev/null @@ -1,21 +0,0 @@ -apiVersion: devbox.sealos.io/v1alpha1 -kind: Runtime -metadata: - name: nextjs14-2-5 -spec: - title: nextjs14.2.5 - classRef: nextjs - description: "nextjs14.2.5" - config: - user: sealos - image: ghcr.io/labring-actions/devbox/nextjs14.2.5:5e2d33 - category: ---- -apiVersion: devbox.sealos.io/v1alpha1 -kind: RuntimeClass -metadata: - name: nextjs -spec: - title: nextjs - kind: Framework - description: "nextjs" diff --git a/yaml/Framework/spring-boot/spring-boot3.3.2/runtime-spring-boot3.3.2.yaml b/yaml/Framework/spring-boot/spring-boot3.3.2/runtime-spring-boot3.3.2.yaml deleted file mode 100644 index 8b3d3f6c..00000000 --- a/yaml/Framework/spring-boot/spring-boot3.3.2/runtime-spring-boot3.3.2.yaml +++ /dev/null @@ -1,21 +0,0 @@ -apiVersion: devbox.sealos.io/v1alpha1 -kind: Runtime -metadata: - name: spring-boot3-3-2 -spec: - title: spring-boot3.3.2 - classRef: spring-boot - description: "spring-boot3.3.2" - config: - user: sealos - image: ghcr.io/labring-actions/devbox/spring-boot3.3.2:2d5849 - category: ---- -apiVersion: devbox.sealos.io/v1alpha1 -kind: RuntimeClass -metadata: - name: spring-boot -spec: - title: spring-boot - kind: Framework - description: "spring-boot" diff --git a/yaml/Framework/vue/vue3.4.29/runtime-vue3.4.29.yaml b/yaml/Framework/vue/vue3.4.29/runtime-vue3.4.29.yaml deleted file mode 100644 index 96fdfede..00000000 --- a/yaml/Framework/vue/vue3.4.29/runtime-vue3.4.29.yaml +++ /dev/null @@ -1,21 +0,0 @@ -apiVersion: devbox.sealos.io/v1alpha1 -kind: Runtime -metadata: - name: vue3-4-29 -spec: - title: vue3.4.29 - classRef: vue - description: "vue3.4.29" - config: - user: sealos - image: ghcr.io/labring-actions/devbox/vue3.4.29:5e2d33 - category: ---- -apiVersion: devbox.sealos.io/v1alpha1 -kind: RuntimeClass -metadata: - name: vue -spec: - title: vue - kind: Framework - description: "vue"