-
Notifications
You must be signed in to change notification settings - Fork 45
Description
When I try to build the server docker image locally, I'm running into the following error:
$ docker buildx build --push --platform linux/arm64 -f docker/server.Dockerfile -t localhost:5001/agentregistry-dev/agentregistry/server:v0.2.0-2-g8184a2d --build-arg LDFLAGS="-s -w -X 'github.com/agentregistry-dev/agentregistry/internal/version.Version=v0.2.0-2-g8184a2d' -X 'github.com/agentregistry-dev/agentregistry/internal/version.GitCommit=8184a2d' -X 'github.com/agentregistry-dev/agentregistry/internal/version.BuildDate=2026-03-03' -X 'github.com/agentregistry-dev/agentregistry/internal/version.DockerRegistry=localhost:5001'" .
[+] Building 1.3s (12/33) docker:default
=> [internal] load build definition from server.Dockerfile 0.1s
=> => transferring dockerfile: 2.78kB 0.0s
=> [internal] load metadata for docker.io/library/ubuntu:22.04 0.7s
=> [internal] load metadata for docker.io/library/node:22-alpine 0.6s
=> [internal] load metadata for docker.io/library/golang:1.25-alpine 0.7s
=> [auth] library/node:pull token for registry-1.docker.io 0.0s
=> [auth] library/ubuntu:pull token for registry-1.docker.io 0.0s
=> [auth] library/golang:pull token for registry-1.docker.io 0.0s
=> [internal] load .dockerignore 0.1s
=> => transferring context: 2B 0.0s
=> [ui-builder 1/8] FROM docker.io/library/node:22-alpine@sha256:e4bf2a82ad0a4037d28035ae71529873c069b13eb0455466ae0bc13363826e34 0.0s
=> [builder 1/10] FROM docker.io/library/golang:1.25-alpine@sha256:f6751d823c26342f9506c03797d2527668d095b0a15f1862cddb4d927a7a4ced 0.0s
=> ERROR [internal] load build context 0.2s
=> => transferring context: 7.89MB 0.1s
=> [runtime 1/6] FROM docker.io/library/ubuntu:22.04@sha256:3ba65aa20f86a0fad9df2b2c259c613df006b2e6d0bfcc8a146afb8c525a9751 0.0s
------
> [internal] load build context:
------
ERROR: failed to solve: error from sender: lstat ui/node_modules/@babel/helpers/lib/helpers/classPrivateFieldSet.js: bad message
make[1]: *** [Makefile:241: docker-server] Error 1
make[1]: Leaving directory '/work/agentregistry'
make: *** [Makefile:117: run] Error 2I'll look into adding a .dockerignore file to this repository that ignores the node_modules.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels