-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test new Dockerfile with s6-overlay #40
Conversation
The final release container is build against the Both services are running with You can specify the relay using the |
Thanks |
@rustdesk we were supposed to talk about that, before merging... I mean: there are a couple of points I would like to address:
At the moment this is building from source, and it's targeting the latest branch. Ideally you want the build system to build on a specific branch/tag. I think we should start from the last point, the build system. What are you currently using? |
I do not know if it is convenient to build a single docker image for different archs with Rust cross-compile on one machine. |
Latest is ok, rustdesk-server won't be updated frequenently as client. |
Let me explain better. Look here and here: the That way, you can do I'm assuming that there's no automatic build system, we can start with that. Ideally we should have a system that run tests on every push to master/main branch, and builds (and publishes) docker images on every tag (on master/main). I have almost zero experience with github as a CI/CD tool, all my repos are on a different server (I don't trust Microsoft) and I mainly use Gitea + Drone; but I worked with Jenkins and others, I think I can give github a try. |
Honestly, I have no such experience either, all our CI/CD are written by contributors. |
Thanks |
Honestly, you should've marked this pull request as a draft if it wasn't ready yet. I guess it's time to open another draft PR with more changes... |
You're right... as I said, github is not my main tool...
That was the point of the discussion. I didn't know how the binaries were made (now I know: manually), and I needed to build the docker images starting from the binaries. I really didn't think to use this Dockerfile as-is (because, you know, minutes of build time), the draft-marking would've been a real blessing. I'll work on multiarch rust compile with github actions, then I'll add the image creation. When everything works (on my fork), I'll PR. |
I created a new Dockerfile which aims to manage
hbbr
andhbbs
services with s6-overlay.At the moment, since I don't know the details of your CD system, this doesn't fetch the precompiled binaries, but rather it builds them itself using a
rust:alpine
container.