diff --git a/Dockerfile b/Dockerfile index 6b66afb68..7cb58d8b3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,5 @@ +ARG VERSION="dev" + FROM golang:1.23.7 AS build # Set the working directory WORKDIR /build @@ -6,7 +8,8 @@ COPY . . # Install dependencies RUN go mod download # Build the server -RUN CGO_ENABLED=0 go build -o github-mcp-server cmd/github-mcp-server/main.go +RUN CGO_ENABLED=0 go build -ldflags="-s -w -X main.version=${VERSION} -X main.commit=$(git rev-parse HEAD) -X main.date=$(date -u +%Y-%m-%dT%H:%M:%SZ)" \ + -o github-mcp-server cmd/github-mcp-server/main.go # Make a stage to run the app FROM gcr.io/distroless/base-debian12 # Set the working directory pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy