Skip to content

Temporal API not available in Alpine v26 images #2486

@jnoordsij

Description

@jnoordsij

Environment

  • Platform: Alpine (any)
  • Docker Version: n/a
  • Node.js Version: 26.0.0
  • Image Tag: 26-alpine

Expected Behavior

Temporal API to be available.

Current Behavior

Temporal API not available. From #2474 (comment):

root@sv:~# docker run --rm -it --pull always node:26-alpine node -e "console.log(Temporal)"
26-alpine: Pulling from library/node
d17f077ada11: Already exists 
4dcf4452caaa: Pull complete 
4ea5683016df: Pull complete 
Digest: sha256:30f5a66e7265ef70aac56b4753ffa7905e54eca1084bc25503893ad8e9273f05
Status: Downloaded newer image for node:26-alpine
[eval]:1
console.log(Temporal)
            ^

ReferenceError: Temporal is not defined
    at [eval]:1:13
    at runScriptInThisContext (node:internal/vm:219:10)
    at node:internal/process/execution:483:12
    at [eval]-wrapper:6:24
    at runScriptInContext (node:internal/process/execution:481:60)
    at evalFunction (node:internal/process/execution:315:30)
    at evalTypeScript (node:internal/process/execution:327:3)
    at node:internal/main/eval_string:71:3

Node.js v26.0.0

Works using 26-slim

Possible Solution

Alpine builds logs (listed in #2474) from https://unofficial-builds.nodejs.org/logs/202605051424-v26.0.0/ seem to suggest missing rust/cargo support on builder. From https://unofficial-builds.nodejs.org/logs/202605051424-v26.0.0/musl.log:

WARNING: cargo not found! Support for Temporal will be disabled.
WARNING: rustc not found! Support for Temporal will be disabled.

Steps to Reproduce

See above

Additional Information

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions