mirror of
https://gitea.com/gitea/gitea-mcp.git
synced 2025-08-23 14:23:05 +00:00
Update Dockerfile
This commit is contained in:
@@ -17,6 +17,7 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0 # all history for all branches and tags
|
||||
- run: git fetch --unshallow --quiet --tags --force
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
@@ -9,10 +9,13 @@ RUN go mod download
|
||||
|
||||
RUN CGO_ENABLED=0 go build -ldflags="-s -w -X main.version=${VERSION}" -o gitea-mcp
|
||||
|
||||
FROM scratch
|
||||
FROM ubuntu:24.04
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install ca-certificates --no-install-recommends -y
|
||||
|
||||
COPY --from=builder /build/gitea-mcp .
|
||||
|
||||
CMD ["./gitea-mcp", "-t", "stdio"]
|
Reference in New Issue
Block a user