Skip to content

Commit f4ea0e0

Browse files
authored
Optimize Dockerfile by removing unused packages
Removed unnecessary installation of git and ca-certificates.
1 parent c634fbd commit f4ea0e0

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

Dockerfile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ FROM golang:1.24.11-trixie AS go-builder
2020

2121
WORKDIR /app
2222

23-
# Install git (needed for some Go modules)
24-
RUN apk add --no-cache git
25-
2623
# Copy go mod files
2724
COPY go.mod ./
2825
COPY go.sum* ./
@@ -41,9 +38,6 @@ FROM gcr.io/distroless/static-debian13
4138

4239
WORKDIR /app
4340

44-
# Install ca-certificates for HTTPS
45-
RUN apk --no-cache add ca-certificates
46-
4741
# Copy Go binary from builder
4842
COPY --from=go-builder /app/xivstrings .
4943

0 commit comments

Comments
 (0)