Files
realDynDNS/Dockerfile
Renovate Bot fca2f44f14
All checks were successful
CD / test (push) Successful in 55s
CD / Create tag (push) Successful in 1m5s
CD / Build and push (amd64) (push) Successful in 1m13s
CD / Build and push (arm64) (push) Successful in 6m8s
CD / Create manifest (push) Successful in 23s
chore(deps): update docker.io/library/golang:1.25-alpine docker digest to 8e02eb3 (#93)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [docker.io/library/golang](https://hub.docker.com/_/golang) ([source](https://github.com/docker-library/golang)) | stage | digest | `f6751d8` → `8e02eb3` |

---

### 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:eyJjcmVhdGVkSW5WZXIiOiI0My41LjQiLCJ1cGRhdGVkSW5WZXIiOiI0My41LjQiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=-->

Reviewed-on: #93
Reviewed-by: t.behrendt <t.behrendt@noreply.localhost>
Co-authored-by: Renovate Bot <renovate@t00n.de>
Co-committed-by: Renovate Bot <renovate@t00n.de>
2026-03-15 22:20:24 +01:00

15 lines
460 B
Docker

FROM docker.io/library/golang:1.25-alpine@sha256:8e02eb337d9e0ea459e041f1ee5eece41cbb61f1d83e7d883a3e2fb4862063fa 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@sha256:20bc6c0bc4d625a22a8fde3e55f6515709b32055ef8fb9cfbddaa06d1760f838
COPY --from=build /app/main /
CMD ["/main"]