You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FROM node:20-alpine as base
RUN corepack enable
ENV PNPM_HOME="/pnpm"ENV PATH="$PNPM_HOME:$PATH"ENV NODE_ENV=production
WORKDIR /app
RUN pnpm i @web3-storage/[email protected]CMD []
Run the above using:
podman build -t app:1.0 .
Logs:
PS C:\Users\aaron\Documents\projects\test> podman build -t app:1.0 .
STEP 1/8: FROM node:20-alpine AS base
STEP 2/8: RUN corepack enable
--> Using cache b2eb6a4152bb5a2692e82f2fd7d6d3250e3e085271fb3f16a2d85245baaef0fc
--> b2eb6a4152bb
STEP 3/8: ENV PNPM_HOME="/pnpm"
--> Using cache 48394d8958e7c83c4fca929fd84b35bafd32d67d7555195ed0163380dd5c4c0a
--> 48394d8958e7
STEP 4/8: ENV PATH="$PNPM_HOME:$PATH"
--> Using cache 1c937f1107fca5000ef5a28ddc0007c28428bbd962dbb5bf0eafdb9a096b2c93
--> 1c937f1107fc
STEP 5/8: ENV NODE_ENV=production
--> Using cache f092a221462ed085af41fb207a730a573f281d6e703bd3a745fb9778d011091e
--> f092a221462e
STEP 6/8: WORKDIR /app
--> Using cache 6db767bc66dec6341fa4ed24ce3450c3a69d07d0ba8e37e4d711bc2426986072
--> 6db767bc66de
STEP 7/8: RUN pnpm i @web3-storage/[email protected]
! Corepack is about to download https://registry.npmjs.org/pnpm/-/pnpm-9.6.0.tgz
Progress: resolved 1, reused 0, downloaded 0, added 0
Progress: resolved 59, reused 0, downloaded 41, added 0
Progress: resolved 103, reused 0, downloaded 103, added 0
ENOENT Command failed with ENOENT: git ls-remote git+ssh://[email protected]/web3-storage/one-webcrypto.git HEAD
spawn git ENOENT
This error happened while installing the dependencies of @web3-storage/[email protected]
at @web3-storage/[email protected]
pnpm: Command failed with ENOENT: git ls-remote git+ssh://[email protected]/web3-storage/one-webcrypto.git HEAD
spawn git ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:286:19)
at onErrorNT (node:internal/child_process:484:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Error: building at STEP "RUN pnpm i @web3-storage/[email protected]": while running runtime: exit status 254
The text was updated successfully, but these errors were encountered:
Reproduction steps:
Run the above using:
podman build -t app:1.0 .
Logs:
The text was updated successfully, but these errors were encountered: