build : @yvv/nuxt-base en git+https + git dans l'étape build Docker
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/push/woodpecker Pipeline failed
- la dép git+ssh échouait en CI : pas de clé SSH ni de binaire git dans l'étape build (ENOENT sur git clone) — seule la prod installait git - package.json + pnpm-lock : git+https://git.open.us.org/… (#v0.1.0 → b1c6a2f, même commit épinglé) — nécessite le repo yvv-nuxt-base public - git + ca-certificates ajoutés à l'étape build du Dockerfile - vérifié : pnpm install + build zéro erreur, prod :3099 → 200 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -11,6 +11,9 @@ WORKDIR /app
|
||||
# Build
|
||||
FROM base AS build
|
||||
|
||||
# git requis : dépendance @yvv/nuxt-base en git+https (l'image slim n'a pas git)
|
||||
RUN apt-get update && apt-get -fy install git ca-certificates && rm -rf /var/cache/apt/*
|
||||
|
||||
RUN corepack enable
|
||||
|
||||
COPY package.json pnpm-lock.yaml ./
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@
|
||||
"@pinia/nuxt": "^0.11.3",
|
||||
"@unocss/nuxt": "^66.6.0",
|
||||
"@vueuse/nuxt": "^14.2.1",
|
||||
"@yvv/nuxt-base": "git+ssh://gitea@git.open.us.org/yvv/yvv-nuxt-base.git#v0.1.0",
|
||||
"@yvv/nuxt-base": "git+https://git.open.us.org/yvv/yvv-nuxt-base.git#v0.1.0",
|
||||
"better-sqlite3": "^12.6.2",
|
||||
"nuxt": "^4.3.1",
|
||||
"nuxt-umami": "^3.2.1",
|
||||
|
||||
Generated
+5
-5
@@ -27,8 +27,8 @@ importers:
|
||||
specifier: ^14.2.1
|
||||
version: 14.2.1(magicast@0.5.2)(nuxt@4.3.1(@parcel/watcher@2.5.6)(@types/node@25.2.3)(@vue/compiler-sfc@3.5.28)(better-sqlite3@12.6.2)(cac@6.7.14)(db0@0.3.4(better-sqlite3@12.6.2))(ioredis@5.9.3)(magicast@0.5.2)(rollup@4.57.1)(terser@5.46.0)(typescript@5.9.3)(vite@7.3.1(@types/node@25.2.3)(jiti@2.6.1)(terser@5.46.0)(yaml@2.8.2))(yaml@2.8.2))(vue@3.5.28(typescript@5.9.3))
|
||||
'@yvv/nuxt-base':
|
||||
specifier: git+ssh://gitea@git.open.us.org/yvv/yvv-nuxt-base.git#v0.1.0
|
||||
version: git+ssh://gitea@git.open.us.org/yvv/yvv-nuxt-base.git#b1c6a2f28052564d505dd05b363169cb97fb81b3
|
||||
specifier: git+https://git.open.us.org/yvv/yvv-nuxt-base.git#v0.1.0
|
||||
version: git+https://git.open.us.org/yvv/yvv-nuxt-base.git#b1c6a2f28052564d505dd05b363169cb97fb81b3
|
||||
better-sqlite3:
|
||||
specifier: ^12.6.2
|
||||
version: 12.6.2
|
||||
@@ -1919,8 +1919,8 @@ packages:
|
||||
'@xtuc/long@4.2.2':
|
||||
resolution: {integrity: sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==}
|
||||
|
||||
'@yvv/nuxt-base@git+ssh://gitea@git.open.us.org/yvv/yvv-nuxt-base.git#b1c6a2f28052564d505dd05b363169cb97fb81b3':
|
||||
resolution: {commit: b1c6a2f28052564d505dd05b363169cb97fb81b3, repo: ssh://gitea@git.open.us.org/yvv/yvv-nuxt-base.git, type: git}
|
||||
'@yvv/nuxt-base@git+https://git.open.us.org/yvv/yvv-nuxt-base.git#b1c6a2f28052564d505dd05b363169cb97fb81b3':
|
||||
resolution: {commit: b1c6a2f28052564d505dd05b363169cb97fb81b3, repo: https://git.open.us.org/yvv/yvv-nuxt-base.git, type: git}
|
||||
version: 0.1.0
|
||||
|
||||
abbrev@3.0.1:
|
||||
@@ -7011,7 +7011,7 @@ snapshots:
|
||||
|
||||
'@xtuc/long@4.2.2': {}
|
||||
|
||||
'@yvv/nuxt-base@git+ssh://gitea@git.open.us.org/yvv/yvv-nuxt-base.git#b1c6a2f28052564d505dd05b363169cb97fb81b3': {}
|
||||
'@yvv/nuxt-base@git+https://git.open.us.org/yvv/yvv-nuxt-base.git#b1c6a2f28052564d505dd05b363169cb97fb81b3': {}
|
||||
|
||||
abbrev@3.0.1: {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user