v install yaml échoue dans le conteneur thevlang/vlang:alpine car le metadata fetch ne fonctionne pas. Clone direct du repo git.
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ FROM thevlang/vlang:alpine AS builder
|
|||||||
# Copy project source and build
|
# Copy project source and build
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN v install yaml
|
RUN git clone https://github.com/vlang/yaml.git /root/.vmodules/yaml
|
||||||
RUN v -prod -o /ntfy-bridge .
|
RUN v -prod -o /ntfy-bridge .
|
||||||
|
|
||||||
# ── Runtime: minimal image ────────────────────────────────────────────────
|
# ── Runtime: minimal image ────────────────────────────────────────────────
|
||||||
|
|||||||
Reference in New Issue
Block a user