mirror of
https://github.com/hanzoai/deploy.git
synced 2026-10-07 08:44:50 +00:00
chore(deprecated): delete dockerfile for gitops-engine not used (#27647)
Signed-off-by: Manuel Alonso <[email protected]>
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
FROM golang:1.22 AS builder
|
||||
|
||||
WORKDIR /src
|
||||
|
||||
COPY go.mod /src/go.mod
|
||||
COPY go.sum /src/go.sum
|
||||
|
||||
RUN go mod download
|
||||
|
||||
# Perform the build
|
||||
COPY . .
|
||||
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-w -s" -o /dist/gitops ./agent
|
||||
|
||||
|
||||
FROM alpine/git:v2.45.2
|
||||
COPY --from=builder /dist/gitops /usr/local/bin/gitops
|
||||
Reference in New Issue
Block a user