Packages

Devcontainer setup for Elixir projects — operate at DevCon 4

Current section

Files

Jump to
devcon4 lib devcon4.ex
Raw

lib/devcon4.ex

defmodule Devcon4 do
@moduledoc """
Devcontainer setup for Elixir projects — operate at DevCon 4.
Provides a Mix archive installer that generates a complete `.devcontainer/`
configuration with:
* **Dockerfile** — Elixir + Node.js image with Claude Code, zsh, and dev tools
* **devcontainer.json** — container settings, volumes, and firewall initialization
* **init-firewall.sh** — restrictive outbound firewall (GitHub, Hex.pm, Anthropic API only)
## Installation
mix archive.install hex devcon4
## Usage
mix devcon4.install
See `Mix.Tasks.Devcon4.Install` for available options.
"""
@doc false
def template_path(name) do
Application.app_dir(
:devcon4,
Path.join(["priv", "templates", "devcontainer", name])
)
end
end