ubccr / hpc-toolset-tutorial

Tutorial for installing Open XDMoD, OnDemand, & ColdFront
GNU General Public License v3.0
121 stars 72 forks source link

problem with dex build from scratch #180

Open widyono-cets opened 8 months ago

widyono-cets commented 8 months ago

Trying to force build images (in order to test other changes), I get the following error. I'm no go developer so I'm afraid I'm at a loss as to the possible solution. This is running on a Mac M1 running 14.4.

This bug report points to issues with some versions of Go: https://github.com/ent/ent/issues/2155

 > [ondemand stage-arm64 5/8] RUN /build/install-dex-arm64.sh:
[...]
16.89  Install dex 2.32.0...
16.89
16.89 --2024-03-18 20:34:56--  https://github.com/dexidp/dex/archive/v2.32.0.tar.gz
[...]
17.28 --2024-03-18 20:34:56--  https://github.com/OSC/dex/commit/9366a1969bd656daa1df44e0bdd02f14437ed466.patch
[...]
17.58 dex-2.32.0/web/web.go
17.58 /tmp/dex-2.32.0 /tmp /
17.61 go: downloading entgo.io/ent v0.10.1
[...]
32.38 internal error: package "context" without types was imported from "entgo.io/ent"
------
failed to solve: process "/bin/sh -c /build/install-dex-arm64.sh" did not complete successfully: exit code: 2