Renames src/com/meesho -> src/com/homelab, resources/com/meesho -> resources/com/homelab, resources/org/meesho -> resources/org/homelab (via git mv, preserving history), and sweeps every remaining occurrence of "meesho" (any casing) out of package declarations, imports, libraryResource() paths, and comments across the whole repo. Also drops the per-user allowlist in vars/eksCICD.groovy, which hardcoded real former-colleagues' emails and doesn't apply to a single-person homelab — that branch is now permanently skipped rather than deleted outright, to avoid hand-editing the escape-sequence-heavy echo blocks it guards (eksCICD.groovy itself is unused legacy code, not called by homelabPipeline.groovy). Does not touch the ~114 files that were already missing from the working tree but still tracked in the prior commit — that's unrelated pre-existing state, left as-is.
18 lines
671 B
Plaintext
18 lines
671 B
Plaintext
# Fallback only — used when the repo has no Dockerfile of its own (see
|
|
# buildDocker.groovy). Simplified from the real go-Dockerfile: no SSH-keyed
|
|
# private module auth (github.com/Homelab/*), no per-module builds, no
|
|
# kafka-specific CGO toggle. Assumes a standard single-binary repo layout
|
|
# (main package at the repo root) — a repo with a different structure
|
|
# should just bring its own Dockerfile, same as demo-go-app does.
|
|
FROM golang:${version}-alpine AS build
|
|
WORKDIR /src
|
|
COPY go.mod go.sum* ./
|
|
RUN go mod download 2>/dev/null || true
|
|
COPY . .
|
|
RUN CGO_ENABLED=0 go build -o /app .
|
|
|
|
FROM alpine:3.20
|
|
COPY --from=build /app /app
|
|
EXPOSE 8080
|
|
ENTRYPOINT ["/app"]
|