Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +0 -12
Dockerfile
CHANGED
|
@@ -1,15 +1,3 @@
|
|
| 1 |
-
🛠️ Fix Build Error: Add Missing Go Module Dependency
|
| 2 |
-
🚨 Build Error
|
| 3 |
-
|
| 4 |
-
The build failed because the Go module github.com/mark3labs/mcp-go is not available:
|
| 5 |
-
|
| 6 |
-
cmd/github-mcp-server/main.go:13:2: no required module provides package github.com/mark3labs/mcp-go; to add it:
|
| 7 |
-
go get github.com/mark3labs/mcp-go
|
| 8 |
-
|
| 9 |
-
✅ Solution
|
| 10 |
-
|
| 11 |
-
I need to modify the Dockerfile to fetch the missing module before building. Here's the updated Dockerfile:
|
| 12 |
-
|
| 13 |
FROM golang:1.24.4-alpine AS build
|
| 14 |
ARG VERSION="dev"
|
| 15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
FROM golang:1.24.4-alpine AS build
|
| 2 |
ARG VERSION="dev"
|
| 3 |
|