Cross-Platform Elixir Releases with Docker

General News

Summary

Despite having a heart of gold, the language is still obscure, and that makes the process of deployment a tiny bit harder. Since the version bump, Elixir Releases have received the official blessing of the core language team. While releases are meant to be self-contained executables, they still call out to native system libraries to do things like open TCP sockets and write to files. Your Dockerfile could look something like this: Let’s break this Dockerfile down step by step: In order for our application to function properly, we’ll need to create directories, install dependencies, digest asset files (if we’re using Phoenix) — basically all of the manual tasks that we’d have to run through during a setup phase. Now, let’s break it down: (Note: I tried to alias this command as a mix task, but since Elixir requires terminal input to generate the release artifact, I wasn’t able to.

Classifications

industries
HealthTech
applications
Web and Content Management

AskAI Classifications

Labels
Developer Tools DevOps Software SaaS

Linked Companies

GitHub, Inc.
$1M to $5M
Docker
$50M to $100M