Dagger

Dagger SDK for Elixir.

CAUTION: It's not ready for production. The library is not complete an may changes during development. Please use with caution.

Installation

Fetch from repository by:

def deps do
  [
    {:dagger_ex, github: "wingyplus/dagger_ex"}
  ]
end

Running

Let's write a code below into a script:

client = Dagger.connect!()

client
|> Dagger.Query.container([])
|> Dagger.Container.from(address: "hexpm/elixir:1.14.4-erlang-25.3-debian-buster-20230227-slim")
|> Dagger.Container.with_exec(args: ["elixir", "--version"])
|> Dagger.Container.stdout()
|> IO.puts()

Then running with:

$ _EXPERIMENT_DAGGER_CLI_BIN=dagger elixir ci.exs

Where ci.exs contains Elixir script above.

Supporting me

<img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" >