cloudflared icon indicating copy to clipboard operation
cloudflared copied to clipboard

Cloudflared snapd package

Open metheis opened this issue 3 years ago • 2 comments

Hello,

I am looking to use cloudflared on a raspberry pi running Ubuntu Core. This is a very light weight operating system where the OS itself as well as applications are delivered as snap packages. It has a number of features that make it appealing for iot.

The cloudflared arm64 binary works and I have a tunnel up and running, but due to Ubuntu Core's design that most applications should be containerized in snaps, installing as a service is not available with the binary directly (many of the system directory are read only, even with sudo).

I am wondering if it's possible for Cloudflare to release a cloudflared snap package. It would make running cloudflared tunnels on any ubuntu system very quick and easy. An alternative I have considered is running cloudflared in a docker container (docker is supported on Ubuntu Core), but there is no arm64 release for the cloudflared docker container, only amd64.

metheis avatar Feb 20 '22 17:02 metheis

Just wanted to post another comment here and see if a member from cloudflare could comment. A number of software packages have unofficial snap packages available, and it should be possible to create one for the cloudflared binary, but it would be better if Cloudflare could release an official package.

metheis avatar Mar 14 '22 19:03 metheis

An alternative I have considered is running cloudflared in a docker container (docker is supported on Ubuntu Core), but there is no arm64 release for the cloudflared docker container, only amd64.

ARM Builds for Docker (and in general #588) are tracked in #237. Personally I would like that to be tackled first as new distribution channels always require some maintenance effort. Additionally snap as well as flatpak seem more focused on desktop applications from my experience.

septatrix avatar Mar 15 '22 12:03 septatrix