mirror of
https://github.com/juanfont/headscale.git
synced 2025-12-24 18:41:06 +01:00
18 lines
547 B
Docker
18 lines
547 B
Docker
# Minimal CI image - expects pre-built headscale binary in build context
|
|
# For local development with delve debugging, use Dockerfile.integration instead
|
|
|
|
FROM debian:trixie-slim
|
|
|
|
RUN apt-get --update install --no-install-recommends --yes \
|
|
bash ca-certificates curl dnsutils findutils iproute2 jq less procps python3 sqlite3 \
|
|
&& apt-get dist-clean
|
|
|
|
RUN mkdir -p /var/run/headscale
|
|
|
|
# Copy pre-built headscale binary from build context
|
|
COPY headscale /usr/local/bin/headscale
|
|
|
|
ENTRYPOINT []
|
|
EXPOSE 8080/tcp
|
|
CMD ["/usr/local/bin/headscale"]
|