Skip to content

Docker image build process? #24

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

Open
johnny-smitherson opened this issue Nov 6, 2023 · 0 comments
Open

Docker image build process? #24

johnny-smitherson opened this issue Nov 6, 2023 · 0 comments

Comments

@johnny-smitherson
Copy link

johnny-smitherson commented Nov 6, 2023

Getting the correct historical rust nightly version, building the tooling, and fighting with the dependencies is a huge pain to get up and running.

I think this would benefit greatly from a reproducible Docker build process (or pre-built binaries) - the container run the hot-reload compiler command and mount both the source code and the output directory.

Here is what I ended up with: 7556302

After container build/download, it only takes a few seconds to compile the exe. With different mount setup, the builder can be reused easier in other codebases (e.g. inside the asset folder of a game).

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

No branches or pull requests

1 participant