Skip to content

Docker image build process? #24

@johnny-smitherson

Description

@johnny-smitherson

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions