docker-dnsmasq/Dockerfile
Renovate [BOT] a02480ca07
Some checks failed
Release / Create Release (push) Successful in 23s
Release / Print Release (push) Successful in 6s
Release / Publish Docker Images (push) Failing after 1m24s
chore(deps): update alpine docker tag to v3.22 (#12)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| alpine | final | minor | `3.21` -> `3.22` |

---

### 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 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 has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC4zMy45IiwidXBkYXRlZEluVmVyIjoiNDAuMzMuOSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsidHlwZS9kZXBlbmRlbmNpZXMiXX0=-->

Reviewed-on: #12
Reviewed-by: Luke Tainton <luke@tainton.uk>
Co-authored-by: Renovate [BOT] <renovate-bot@git.tainton.uk>
Co-committed-by: Renovate [BOT] <renovate-bot@git.tainton.uk>
2025-05-30 22:29:35 +02:00

16 lines
684 B
Docker

FROM alpine:3.22 AS build
LABEL maintainer="Luke Tainton <luke@tainton.uk>"
FROM build AS webproc
ENV WEBPROCVERSION 0.4.0
ENV WEBPROCURL https://github.com/jpillora/webproc/releases/download/v$WEBPROCVERSION/webproc_"$WEBPROCVERSION"_linux_amd64.gz
RUN apk add --no-cache curl && \
curl -sL "$WEBPROCURL" | gzip -d - > /usr/local/bin/webproc && \
chmod +x /usr/local/bin/webproc
FROM build AS dnsmasq
RUN apk --no-cache add dnsmasq=2.90-r3
COPY --from=webproc /usr/local/bin/webproc /usr/local/bin/webproc
ENTRYPOINT ["webproc","-o","restart","-c","/etc/dnsmasq.conf","-c","/etc/hosts","-c","/etc/resolv.conf","--","dnsmasq","-k","--log-facility=-"]
EXPOSE 53/udp 8080/tcp