mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-25 07:00:48 +09:00
fix: container compile
This commit is contained in:
@@ -5,6 +5,8 @@ IMAGE="memoh-mcp:dev"
|
|||||||
|
|
||||||
if [ "$(uname -s)" = "Darwin" ]; then
|
if [ "$(uname -s)" = "Darwin" ]; then
|
||||||
limactl shell default -- nerdctl build -f cmd/mcp/Dockerfile -t "$IMAGE" .
|
limactl shell default -- nerdctl build -f cmd/mcp/Dockerfile -t "$IMAGE" .
|
||||||
|
# Import into rootful containerd so the Go agent can find the image
|
||||||
|
limactl shell default -- sh -c "nerdctl save $IMAGE | sudo nerdctl load"
|
||||||
exit $?
|
exit $?
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user