Skip to content

Commit

Permalink
chore(docker): Remove git
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed May 1, 2024
1 parent 2e00288 commit e39857d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
FROM --platform=$BUILDPLATFORM golang:1.22.2-alpine AS builder
WORKDIR /app

RUN apk add --no-cache git

COPY go.mod go.sum ./
RUN go mod download

Expand All @@ -29,8 +27,6 @@ FROM alpine:3.19
LABEL org.opencontainers.image.source="https://github.com/clevyr/kubedb"
WORKDIR /data

RUN apk add --no-cache git

COPY --from=builder /app/kubedb /usr/local/bin/

ENV KUBECONFIG /.kube/config
Expand Down

0 comments on commit e39857d

Please sign in to comment.