#Incremental Rust builds in CI

6 messages · Page 1 of 1 (latest)

kind nest
strong crest
#

Looks good. One problem I've had with tools like sccache is that CircleCI and our sccache server instance had a very high latency. since sscache is a rustc wrapper, it had to do a round-trip for every dependency which took many many seconds. I like having the cargo aware caches.

#

How does earthly differ to docker? As in, can earthly build OCI images/run in a container VM like with docker desktop?

gusty sluice
#

Hey - Vlad here, Earthly team member. You can indeed build container images with Earthly. For local use, you install the Earthly CLI natively on the system and it uses Docker or Podman to run the actual builds locally (it uses a Buildkit container underneath).

#

The Earthly syntax is kinda like Dockerfiles in some sense, except that it's not just limited to building images. You can build anything - binaries, files, images, run tests etc. Hopefully that makes sense re your question about Earthly vs Docker.

kind nest