rust dev container #5
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
To compile static
githubpage
from rust code withtrunk
tool, it is necessary to:alpine
dev image (Dockerfile) with all build dependanciestrunk build --release
producingdist
directory on another machineNot only this feature introduces
dev-containers
to the project, enabling almost seamless development across wide range of host machines, it will be also first step towards addingpages
functionality to the repo (on top of Gitea-actions).Motivations behind choosing alpine docker image for rust builder:
Debian
, so would like to learn a bit moreAlpine
insteadunfortunately, using
Alpine
as a base forrust
dev-container -> leads to compilation errors duringcargo
dependancy installationDue to:
it was decided to publish egui-circles-builder container on Docker Hub
Since i have ARM and AMD64 -based laptops, it make sense to explore Docker images with multi-arch support.
At the moment, docker dev containers is not the most comfortable way of quickly iterating over code development. Thus this option seems to be more or less useful for quick&easy out of the box build. Any way, at the moment I'm not going to pursue this feature any further. Traditional way of setting up local dev environment seems to be more versatile.
p.s. this feature is still a corner stone for the Gitea Actions implementation.