I am following the demo on https://www.youtube.com/watch?v=RgE7Y2Lvxro and it looks like dagger is trying to use an image for slim built for arm but my host is amd64 and this will not work:
β― dagger call --focus=false server
β Miniweb.server: Container! 4.9s
! call function "Server": process "/runtime" did not complete successfully: exit code: 2
β marshal: json: error calling MarshalJSON for type *dagger.Container: input: slim.slim resolve: call function "Slim": p
β cess "/runtime" did not complete successfully: exit code: 2
β
β DockerImage.ref: String! 0.3s
β Container.from(address: "index.docker.io/dslim/slim-arm"): Container! 0.2s
β remotes.docker.resolver.HTTPRequest 0.1s
β HTTP HEAD 0.1s
β Container.sync: ContainerID! 0.1s
! process "/bin/slim build --tag slim-output:latest --target :@sha256:ce3dcbad52db82a36405fc13b4d0460c7e9b4ab0940a58e7948cfbc64788fd1f" did not complete successfully: exit code: 149
β exec /bin/slim build --tag slim-output:latest --target :@sha256:ce3dcbad52db82a36405fc13b4d0460c7e9b4ab0940a58e7948cfbc64788fd1f 0.1s
! process "/bin/slim build --tag slim-output:latest --target :@sha256:ce3dcbad52db82a36405fc13b4d0460c7e9b4ab0940a58e7948cfbc64788fd1f" did not complete successfully: exit code: 149
Error: response from query: input: miniweb.server resolve: call function "Server": process "/runtime" did not complete successfully: exit code: 2
Stdout:
marshal: json: error calling MarshalJSON for type *dagger.Container: input: slim.slim resolve: call function "Slim": process "/runtime" did not complete successfully: exit code: 2
Stdout:
invoke: input: container.from.withServiceBinding.withEnvVariable.withExec.sync resolve: process "/bin/slim build --tag slim-output:latest --target :@sha256:ce3dcbad52db82a36405fc13b4d0460c7e9b4ab0940a58e7948cfbc64788fd1f" did not complete successfully: exit code: 149
Application delivery doesnβt have to suck. Solomon Hykes joins Nirmal and me to talk about Dagger and their application delivery-as-code that runs anywhere.
Reminder we're on Eastern Standard Time (EST) now here (UTC -5). Click Notify Me π so you get notified.
βοΈA special thanks to this episode's sponsor, Uffizzi!βοΈ
π Uffizzi is a platfo...