Skip to content

Create Dockerfile.debian - #364

Open
cn-kali-team wants to merge 3 commits into
woodpecker-ci:mainfrom
cn-kali-team:main
Open

Create Dockerfile.debian#364
cn-kali-team wants to merge 3 commits into
woodpecker-ci:mainfrom
cn-kali-team:main

Conversation

@cn-kali-team

Copy link
Copy Markdown

add debian dockerfile

https://bell-sw.com/blog/how-to-deal-with-alpine-dns-issues/

Switch base image from Alpine to Debian-slim

Alpine's musl libc cannot resolve certain DNS responses (NXDOMAIN + CNAME mixed),
causing git/ssh to fail with "Could not resolve hostname" despite nslookup working.
Debian uses glibc which handles DNS properly with TCP fallback.

Fixes: git clone over SSH failing in pipeline

add debian dockerfile
@6543

6543 commented Jul 22, 2026

Copy link
Copy Markdown
Member

@cn-kali-team could you also edit the ci config to let it build and let it create an X-debian tag?

alpine was used as it has a lot of architectures coverage ...

image image

... but debian has that too ... 🤔

also because of image size ...

image image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants