You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to build the docker container executing ´docker build -t clutch:latest .´
Expected Behavior
The build should complete successfully.
Actual Behavior
=> ERROR [gobuild 7/7] RUN make backend-with-assets 0.2s
------
> [gobuild 7/7] RUN make backend-with-assets:
0.201 /go/src/github.com/lyft/clutch
0.201 Running pre-flight checks...
0.213 Pre-flight checks satisfied!
0.213 cd backend && go run cmd/assets/generate.go ../frontend/packages/app/build && go build -tags withAssets -o ../build/clutch -ldflags="-X main.version=0.0.0"
0.219 go: errors parsing go.mod:
0.219 /go/src/github.com/lyft/clutch/backend/go.mod:3: invalid go version '1.23.0': must match format 1.23
0.220 make: *** [Makefile:47: backend-with-assets] Error 1
------
Dockerfile:19
--------------------
17 | COPY --from=nodebuild ./frontend/packages/app/build ./frontend/packages/app/build/
18 |
19 | >>> RUN make backend-with-assets
20 |
21 | # Copy binary to final image.
--------------------
ERROR: failed to solve: process "/bin/sh -c make backend-with-assets" did not complete successfully: exit code: 2
I've tried modifying the go.mod to go 1.23 but still the build fail with:
87.75 go: downloading github.com/emicklei/go-restful/v3 v3.11.0
90.75 /go/pkg/mod/k8s.io/apimachinery@v0.30.1/pkg/util/sets/set.go:20:2: package cmp is not in GOROOT (/usr/local/go/src/cmp)
90.75 note: imported by a module that requires go 1.22
90.76 make: *** [Makefile:47: backend-with-assets] Error 1
------
Dockerfile:19
--------------------
17 | COPY --from=nodebuild ./frontend/packages/app/build ./frontend/packages/app/build/
18 |
19 | >>> RUN make backend-with-assets
20 |
21 | # Copy binary to final image.
--------------------
ERROR: failed to solve: process "/bin/sh -c make backend-with-assets" did not complete successfully: exit code: 2
Description
I'm trying to build the docker container executing ´docker build -t clutch:latest .´
Expected Behavior
The build should complete successfully.
Actual Behavior
I've tried modifying the go.mod to
go 1.23
but still the build fail with:Version
2a2f4fe, current HEAD
The text was updated successfully, but these errors were encountered: