mirror of
https://github.com/pion/ice.git
synced 2026-04-22 16:17:11 +08:00
c5b305b1c6
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | golang | stage | minor | `1.25-bookworm` → `1.26-bookworm` | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, 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 was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/pion/ice). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi45Ny4wIiwidXBkYXRlZEluVmVyIjoiNDIuOTcuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
20 lines
592 B
Docker
20 lines
592 B
Docker
# SPDX-FileCopyrightText: 2026 The Pion community <https://pion.ly>
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
FROM golang:1.26-bookworm AS builder
|
|
WORKDIR /src
|
|
|
|
# Copy the entire repo so local changes to pion/ice are included.
|
|
COPY . .
|
|
|
|
WORKDIR /src/examples/nat-rules
|
|
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -trimpath -o /tmp/nat-rules-demo .
|
|
|
|
FROM debian:bookworm-slim
|
|
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY --from=builder /tmp/nat-rules-demo /usr/local/bin/nat-rules-demo
|
|
|
|
ENTRYPOINT ["nat-rules-demo"]
|