Files
realDynDNS/Dockerfile
Renovate Bot dc76c5fb26
All checks were successful
CD / Create tag (push) Successful in 9s
CD / test (push) Successful in 2m35s
CD / Build and push (amd64) (push) Successful in 41s
CD / Build and push (arm64) (push) Successful in 2m16s
CD / Create manifest (push) Successful in 47s
chore(deps): update golang docker tag to v1.25 (#48)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| golang | stage | minor | `1.24-alpine` -> `1.25-alpine` |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS44MS41IiwidXBkYXRlZEluVmVyIjoiNDIuMTAuNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: Timo Behrendt <t.behrendt@t00n.de>
Reviewed-on: #48
Reviewed-by: branch-buddy <branch-buddy@t00n.de>
Co-authored-by: Renovate Bot <renovate@t00n.de>
Co-committed-by: Renovate Bot <renovate@t00n.de>
2025-12-12 21:42:46 +01:00

15 lines
298 B
Docker

FROM golang:1.25-alpine as build
ARG GOARCH=amd64
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN CGO_ENABLED=0 GOOS=linux GOARCH=${GOARCH} \
go build -trimpath -ldflags="-s -w" -o main .
FROM gcr.io/distroless/static-debian12
COPY --from=build /app/main /
CMD ["/main"]