by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 22:59
    vladaionescu labeled #324
  • 22:59
    vladaionescu opened #324
  • 20:18
    vladaionescu closed #323
  • 19:45
    vladaionescu edited #323
  • 19:45
    vladaionescu review_requested #323
  • 19:44
    vladaionescu opened #323
  • 18:03
    alexcb closed #321
  • 17:57
    alexcb closed #290
  • 17:57
    alexcb closed #322
  • 17:34
    alexcb synchronize #322
  • 17:28
    alexcb synchronize #322
  • 17:26
    alexcb opened #322
  • 17:22
    vladaionescu labeled #321
  • 17:12
    alexcb assigned #321
  • 17:12
    alexcb opened #321
  • 03:12
    alexcb assigned #290
  • Sep 22 18:55
    alexcb closed #320
  • Sep 22 18:53
    alexcb ready_for_review #320
  • Sep 22 18:50
    alexcb synchronize #320
  • Sep 22 18:49
    alexcb synchronize #320
Vlad A. Ionescu
@vladaionescu
Note that the earthly repo has moved from vladaionescu/earthly to earthly/earthly
Vlad A. Ionescu
@vladaionescu
An error related to using EXPOSE in conjuction with some base images was fixed in the latest release of Earthly. Upgrade to v0.1.2 if you encounter issues.
Rasmus Dyhr Larsen
@Dyhr
Hey, when is a windows version planned? I am having issues with running earthly using WSL
6 replies
Marshall Culpepper
@marshall
hey guys, love the vision behind Earthly! just got my feet wet trying to convert one of our projects :)
I noticed that sending the build context is a bit slow for my build already. I tried making sure I'm not sending over a lot of files from CWD by adding things to .dockerignore, but it hasn't helped. is there an equivalent for Earthly?
7 replies
also I think the intention is for transfer progress to update inline with terminal escape sequences, but I'm just getting tons of "context | transferring .: 0%" over and over until it's done :)
Marshall Culpepper
@marshall
is there a way to tag an image built by earthly to push to an image registry that isn't docker hub?
22 replies
Vlad A. Ionescu
@vladaionescu
Hey everyone - could use some help with feedback to help guide the direction of the project! Have a questionnaire right here https://docs.google.com/forms/d/e/1FAIpQLScm89g2iHpHZxfi8JqpEKtDFB404QrBY4mPehH-F50f2za5ZA/viewform
GavinRay97
@GavinRay97

I had a question, which basically was just a mirror of an issue previously asked:

earthly/earthly#57

I find the syntax of Earthfiles really appealing, and the re-usability/composability aspect of being able to reference other files. I'm not super familiar with Docker internals, but when it comes to copying artifacts, like binaries or static assets, isn't that the same as the COPY command or using the multi-stage build in Docker?

Often times I find myself needing multiple languages in a Docker project to compile binaries, which then just get copied over as an asset, and I was wondering if there were some unique features that Earthly had compared to Docker with this.

4 replies
GavinRay97
@GavinRay97
Any clues as to what this could mean:
❯ earth build.earth+final-target
buildkitd | Found buildkit daemon as docker container (earthly-buildkitd)
Error: resolve build context for target /build.earth+final-target: Registry  not supported
1 reply
Ahh, oops. Can't pass file references like that, it takes a directory reference :flushed:
Vlad A. Ionescu
@vladaionescu
Hey everyone, Earthly v0.2.0 is out! Includes some fixes related to "out of disk space" error, renames build.earth to Earthfile, introduces a config file and many other goodies. Full details on the releases page: https://github.com/earthly/earthly/releases/tag/v0.2.0
Rey Riel
@rjriel
🥳🥳🥳
Vlad A. Ionescu
@vladaionescu
Hey everyone, looking to get some feedback on a proposal regarding support for running commands on the host: earthly/earthly#167 . Let me know what you think!
Vlad A. Ionescu
@vladaionescu
Earthly v0.3 is out! It includes a new interactive mode (-i) where it drops you in a shell if the build fails. It also adds support for Dockerfiles (FROM DOCKERFILE). Mac builds are now almost 3x faster (!!). And many other goodies! https://github.com/earthly/earthly/releases
Zen Yui
@zenyui

Hi Earthly team!

Question - what's the earth/earthly philosophy around conditional logic for specific commit refs? Do I just have conditional logic in my CI?

For example:

  • I'd like to have logic for custom artifact versions/tags (that combines tags, commit hashes, dates, etc)
  • for PR builds of docker assets I'd just like to know that it does build, but not push to my registry.
  • for PR builds of scala/java assets, I want to compile but not publish

I do realize that I could just have a separate target that publishes assets, like for docker assets I could invoke SAVE IMAGE and have a separate publish target where I invoke SAVE IMAGE --push ....

I'm curious how the earthly team recommends I accomplish this with earth. If possible, I'd like as little logic in my CI as possible.

23 replies
Ivan Sim
@ihcsim
How does the SAVE ARTIFACTS .. AS LOCAL work? The only bind mount I think that is relevant is the one at $HOME/.earthly/run. Is that where it happens?
4 replies
Zen Yui
@zenyui
ive got a target artifact now with a dockerfile and all the required files. is the FROM DOCKERFILE the only way to build a docker asset from that dockerfile?
18 replies
Zen Yui
@zenyui

@vladaionescu got it working :)

one interesting thing I noticed / is expected: I packaged my application as a .deb and installed it into the openjdk-8 debian image, and now I essentially have an image twice the size, as the docker layer has my .deb and the results of installation. Is there a trick in earthly to either copy and install my .deb in one line (to avoid the duplicate layers) or to squash layers?

12 replies
Zen Yui
@zenyui

I believe I found a bug with the EARTHLY_SECRETS env var: earthly/earthly#229

lmk if i'm just doing it wrong, thanks.

3 replies
Ivan Sim
@ihcsim
Multi-platform build isn't supported yet afaict, right?
2 replies
Vlad A. Ionescu
@vladaionescu
Hey everyone, Earthly v0.3.2 is out! Bash autocomplete, new syntax for docker operations (WITH DOCKER), support for generated dockerfiles and a number of bug fixes. More info here https://github.com/earthly/earthly/releases/tag/v0.3.2
Adam Bell
@agbell
Hey everyone, Earthly v0.3.5 is out! It features target aware completion for bash and zsh and a couple bug fixes. More details here https://github.com/earthly/earthly/releases/tag/v0.3.5
Zen Yui
@zenyui

any ideas why this might happen?

ERROR: (helper image for fake dep operations) failed to authorize: failed to fetch anonymous token: context canceled
Error: solve side effects: solve: failed to solve: rpc error: code = Canceled desc = failed to load cache key: failed to authorize: failed to fetch anonymous token: context canceled

14 replies
Zen Yui
@zenyui
do you guys have a doc on best practice for go mod vendor for private repos? i know i could just copy my ssh key into the image
62 replies
Adam Bell
@agbell
I've added python examples to our basic tutorial page https://docs.earthly.dev/guides/basics Let me know if there are other languages you would like to see there.
Adam Bell
@agbell
Hi All, Earthly 0.3.6 is out. We now have an --ssh flag available on the RUN command https://github.com/earthly/earthly/releases/tag/v0.3.6
1 reply