Skip to content

Conversation

@TLINDEN
Copy link

@TLINDEN TLINDEN commented Jan 8, 2026

This PR adds a new dockerfile for FreeBSD to be used with podman build. A section in the README.md has been added.

I am not sure if the Dockerfile is correct yet, please refer to #295.

@bretton
Copy link

bretton commented Jan 8, 2026

pita nitpick: is there a specific reason to use your OCI images as opposed to the official ones?

docker.io/freebsd/freebsd-runtime:14.3
ghcr.io/freebsd/freebsd-runtime:14.3

see https://hub.docker.com/r/freebsd/ or https://github.com/orgs/freebsd/packages

@TLINDEN
Copy link
Author

TLINDEN commented Jan 8, 2026

docker.io/freebsd/freebsd-runtime:14.3

I changed it to use this one.

The reason was, that ghcr.io doesn't work on my test machine since it doesn't support ipv6 and I wasn't aware that it's available on docker.io as well.

@6543 6543 changed the title add freebsd dockerfile to be used with podman Add freebsd dockerfile to be used with podman Jan 10, 2026
@6543
Copy link
Member

6543 commented Jan 10, 2026

does this need podman to build the podman image too or can we just use buildx and distribute it officially?

@TLINDEN
Copy link
Author

TLINDEN commented Jan 12, 2026

does this need podman to build the podman image too or can we just use buildx and distribute it officially?

I don't know if that works, have only tried podman, as this runs natively on FreeBSD.

@6543
Copy link
Member

6543 commented Jan 21, 2026

is there a hoster that can spin up freebsd instances on demand?

so we can integrate it in our test workflow?

@TLINDEN
Copy link
Author

TLINDEN commented Jan 22, 2026

is there a hoster that can spin up freebsd instances on demand?

so we can integrate it in our test workflow?

None that I'm aware of. I am using a static freebsd woodpecker-agent on Hetzner-Cloud with with local backend for such things. Maybe this can be adapted here. However, the instance is not build on demand since there's no freebsd image for this available there, so I'm using a snapshot I made earlier. have a look.

I am not aware of any other way to do these kind of things with freebsd.

But for github there's a FreeBSD image available which is basically a linux image running FreeBSD in qemu. Maybe that would be something for you? Repo is here, but it didn't work for my testcase on codeberg/woodpecker.

@bretton
Copy link

bretton commented Jan 22, 2026

is there a hoster that can spin up freebsd instances on demand?

I don't know if this is on-demand
https://www.vultr.com/servers/freebsd/

FreeBSD on Azure has nothing recent
https://learn.microsoft.com/en-us/azure/virtual-machines/linux/freebsd-intro-on-azure

AWS has a FreeBSD 14 image from the FreeBSD Foundation
https://aws.amazon.com/marketplace/pp/prodview-sxzreyutwngxy

along with FreeBSD 15 with ZFS
https://aws.amazon.com/marketplace/pp/prodview-aw2y73mf6h2n2

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.

4 participants