Netlify CLI deploy fails on Alpine

When running netlify-cli netlify deploy on Alpine (docker image jekyll/jekyll) it fails because is not able to download Deno, so it’s unable to bundle my edge functions for the deploy, which ultimately makes the script to fail

error trace:

edirectsOrigin: config - Bundling edge functions... Local version of types is outdated, updating: undefined No globalVersion or semver not satisfied. globalVersion: undefined, versionRange: ^1.22.0 Error getting cached binary [Error: ENOENT: no such file or directory, open '/root/.config/netlify/deno-cli/version.txt'] { errno: -2, code: 'ENOENT', syscall: 'open', path: '/root/.config/netlify/deno-cli/version.txt' } Downloading Deno CLI to /root/.config/netlify/deno-cli Could not run downloaded Deno CLI Error: There was a problem setting up the Edge Functions environment. To try a manual installation, visit https://ntl.fyi/install-deno. at DenoBridge.downloadBinary (file:///builds/product/design/web-poc/node_modules/@netlify/edge-bundler/dist/node/bridge.js:36:27) at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async DenoBridge.getBinaryPath (file:///builds/product/design/web-poc/node_modules/@netlify/edge-bundler/dist/node/bridge.js:120:32) at async DenoBridge.run (file:///builds/product/design/web-poc/node_modules/@netlify/edge-bundler/dist/node/bridge.js:135:38) at async ensureLatestTypes (file:///builds/product/design/web-poc/node_modules/@netlify/edge-bundler/dist/node/types.js:21:9) at async bundle (file:///builds/product/design/web-poc/node_modules/@netlify/edge-bundler/dist/node/bundler.js:32:5) at async coreStep (file:///builds/product/design/web-poc/node_modules/@netlify/build/lib/plugins_core/edge_functions/index.js:35:30) at async fireCoreStep (file:///builds/product/design/web-poc/node_modules/@netlify/build/lib/steps/core_step.js:9:98) at async tFireStep (file:///builds/product/design/web-poc/node_modules/@netlify/build/lib/time/main.js:18:63) Could not download latest types: Error: There was a problem setting up the Edge Functions environment. To try a manual installation, visit https://ntl.fyi/install-deno. at DenoBridge.downloadBinary (file:///builds/product/design/web-poc/node_modules/@netlify/edge-bundler/dist/node/bridge.js:36:27) at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async DenoBridge.getBinaryPath (file:///builds/product/design/web-poc/node_modules/@netlify/edge-bundler/dist/node/bridge.js:120:32) at async DenoBridge.run (file:///builds/product/design/web-poc/node_modules/@netlify/edge-bundler/dist/node/bridge.js:135:38) at async ensureLatestTypes (file:///builds/product/design/web-poc/node_modules/@netlify/edge-bundler/dist/node/types.js:21:9) at async bundle (file:///builds/product/design/web-poc/node_modules/@netlify/edge-bundler/dist/node/bundler.js:32:5) at async coreStep (file:///builds/product/design/web-poc/node_modules/@netlify/build/lib/plugins_core/edge_functions/index.js:35:30) at async fireCoreStep (file:///builds/product/design/web-poc/node_modules/@netlify/build/lib/steps/core_step.js:9:98) at async tFireStep (file:///builds/product/design/web-poc/node_modules/@netlify/build/lib/time/main.js:18:63) No globalVersion or semver not satisfied. globalVersion: undefined, versionRange: ^1.22.0 Error getting cached binary [Error: ENOENT: no such file or directory, open '/root/.config/netlify/deno-cli/version.txt'] { errno: -2, code: 'ENOENT', syscall: 'open', path: '/root/.config/netlify/deno-cli/version.txt' } ✖ Deploy aborted due to error while bundling edge functions error Command failed with exit code 2. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. Cleaning up project directory and file based variables 00:00 ERROR: Job failed: command terminated with exit code 1 

config output:

$ yarn netlify deploy --debug --verbose --dir=public --alias $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME yarn run v1.22.17 warning package.json: No license field $ /builds/product/design/web-poc/node_modules/.bin/netlify deploy --debug --verbose --dir=public --alias improve-cicd ​ ❯ Initial build environment context: dev cwd: /builds/product/design/web-poc featureFlags: [] mode: cli siteId: ***REDACTED**** ​ ❯ UI build settings baseRelDir: false ​ ❯ Resolved build environment branch: HEAD buildDir: /builds/product/design/web-poc configPath: /builds/product/design/web-poc/netlify.toml context: dev env: - DEPLOY_ID - BUILD_ID - NETLIFY_LOCAL - HEAD - COMMIT_REF - PULL_REQUEST - LANG - LANGUAGE - LC_ALL - GATSBY_TELEMETRY_DISABLED - NEXT_TELEMETRY_DISABLED ​ ❯ Resolved config build: edge_functions: /builds/product/design/web-poc/_edge publish: /builds/product/design/web-poc publishOrigin: default functionsDirectory: /builds/product/design/web-poc/_lambda headers: - for: /static/* values: Access-Control-Allow-Origin: '*' headersOrigin: config redirects: 

Based on: Deno does not run on Alpine Linux / iSH · Issue #9153 · denoland/deno · GitHub and the linked issue: Release centos7 compatible binaries · Issue #1658 · denoland/deno · GitHub, Deno is probably not compatible on Alpine.