Skip to content

Building angular app inside bun image hangs #28889

@lzafreitas

Description

@lzafreitas

Which @angular/* package(s) are the source of the bug?

compiler-cli

Is this a regression?

No

Description

Whenever trying to build an angular app inside the bun docker image the build process hangs and never finishes.
The following repo has more information on the Read Me File

https://github.com/lzafreitas/angular-bun

Instructions to reproduce:

  • Download the repo
  • run "docker compose up"

Please provide a link to a minimal reproduction of the bug

https://github.com/lzafreitas/angular-bun

Please provide the exception or error you saw

[+] Building 317.3s (8/9)                                                                                                                                                                                                                                                       docker:desktop-linux
 => [client internal] load build definition from Dockerfile                                                                                                                                                                                                                                     0.0s
 => => transferring dockerfile: 160B                                                                                                                                                                                                                                                            0.0s
 => [client internal] load metadata for docker.io/oven/bun:latest                                                                                                                                                                                                                               0.5s
 => [client internal] load .dockerignore                                                                                                                                                                                                                                                        0.0s
 => => transferring context: 89B                                                                                                                                                                                                                                                                0.0s
 => [client 1/5] FROM docker.io/oven/bun:latest@sha256:e2c0b11e277f0285e089ffb77ad831faeec2833b9c4b04d6d317f054e587ef4e                                                                                                                                                                         0.0s
 => [client internal] load build context                                                                                                                                                                                                                                                        0.0s
 => => transferring context: 38.27kB                                                                                                                                                                                                                                                            0.0s
 => CACHED [client 2/5] WORKDIR /app                                                                                                                                                                                                                                                            0.0s
 => [client 3/5] COPY . /app                                                                                                                                                                                                                                                                    0.9s
 => [client 4/5] RUN bun install                                                                                                                                                                                                                                                                9.4s
 => [client 5/5] RUN bun run build                                                                                                                                                                                                                                                            306.4s 
 => => # $ ng build                                                                                                                                                                                                                                                                                  
 => => # ❯ Building...

Please provide the environment you discovered this bug in (run ng version)

Angular CLI: 18.2.12
Node: 20.11.1
Package Manager: bun 1.1.34
OS: darwin arm64

Angular: 18.2.12
... animations, cli, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1802.12
@angular-devkit/build-angular   18.2.12
@angular-devkit/core            18.2.12
@angular-devkit/schematics      18.2.12
@schematics/angular             18.2.12
rxjs                            7.8.1
typescript                      5.5.4
zone.js                         0.14.10

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions