Compare commits

..

1 Commits

Author SHA1 Message Date
mudler
dfa3728867 chore(mcpbox): use ubuntu:24.04 as base
Signed-off-by: mudler <mudler@localai.io>
2025-04-25 17:06:17 +02:00
4 changed files with 4 additions and 28 deletions

View File

@@ -20,10 +20,10 @@ COPY . .
RUN CGO_ENABLED=0 GOOS=linux go build -o mcpbox ./cmd/mcpbox
# Final stage
FROM alpine:3.19
FROM ubuntu:22.04
# Install runtime dependencies
RUN apk add --no-cache ca-certificates tzdata docker
RUN apt-get update && apt-get install -y ca-certificates tzdata docker.io bash
# Create non-root user
#RUN adduser -D -g '' appuser

View File

@@ -17,11 +17,6 @@ services:
file: docker-compose.yaml
service: mcpbox
dind:
extends:
file: docker-compose.yaml
service: dind
localrecall:
extends:
file: docker-compose.yaml

View File

@@ -22,11 +22,6 @@ services:
file: docker-compose.yaml
service: mcpbox
dind:
extends:
file: docker-compose.yaml
service: dind
localrecall:
extends:
file: docker-compose.yaml

View File

@@ -54,28 +54,14 @@ services:
- "8080"
volumes:
- ./volumes/mcpbox:/app/data
environment:
- DOCKER_HOST=tcp://dind:2375
depends_on:
dind:
condition: service_healthy
# share docker socket if you want it to be able to run docker commands
- /var/run/docker.sock:/var/run/docker.sock
healthcheck:
test: ["CMD", "wget", "-q", "-O", "-", "http://localhost:8080/processes"]
interval: 30s
timeout: 10s
retries: 3
dind:
image: docker:dind
privileged: true
environment:
- DOCKER_TLS_CERTDIR=""
healthcheck:
test: ["CMD", "docker", "info"]
interval: 10s
timeout: 5s
retries: 3
localagi:
depends_on:
localai: