nhpip

nhpip

As the title says. Has anyone managed to create a scratch Docker container that can run Erlang/Elixir apps?

Showing Posts 1 to 4

D4no0

D4no0

Is it even worth it? Even for running a release you have to install dependencies and doing that without a package manager must be fun.

nhpip

nhpip OP

Because my boss wants to :roll_eyes:

seeplusplus

seeplusplus

your boss sounds like they value vanity more than practicality

most bosses do

if you’re in a situation where you’re forced to do this because of “reasons,” my condolences. Just trace your way down the stack of dockerfiles from an existing “ready for prod” erlang/elixir image until you hit scratch.

Is it even worth it? Even for running a release you have to install dependencies and doing that without a package manager must be fun.

This is not necessarily true. OP could have access to a private container registry and just recreate the aforementioned stack in private images. :joy:

sindripetur

sindripetur

Here’s something I did a while back: GitHub - sindrip/scratch_release · GitHub
scratch_release | Hex

Feel free to let me know if it works for you, the code is quite simple.

— All posts loaded —

Where Next? Top

Trending in Discussions Top

cblavier
Hey there, It’s been more than a year since we started using LiveView as our main UI library and building a whole library of UI componen...
New
wmnnd
Hey folks, I wanted to share with you a project I’ve been working on for a while: It’s an Open Source (AGPLv3) newsletter tool. Think Ma...
New
axelson
Hi there! :wave: @frigidcode and I (but mostly him) have been running an Elixir Book club, we’re almost done with Designing Elixir Syste...
New
alexslade
Fly’s CEO posted this recently - Turn And Face The Strange · The Fly Blog It says that Fly is going all-in on sprites, which is a worry ...
New
sntran
In my third year of college, around 2010, I found Erlang. A few years later, I found Elixir. I liked the ideas at once: many small proces...
New
Ganna
Hi everyone, I have 8 years of production experience with Erlang/OTP and I’m just starting to get to know Elixir. What would you learn f...
New
johnkirkham
A note on form. Joe Armstrong, co-creator of the Erlang programming language, died in April 2019. What follows is a work of narrative non...
New

Other Trending Topics Top

ancatrusca
The setup Hernán Rivas Acosta (Erlang Solutions) built Spawndemonium, a top-down multiplayer shooter shown at Code BEAM Europe. The simu...
New
dominicletz
Hey there, I haven’t seen a list of useful Elixir specific skills for the popular AI tools yet so I’m starting one here with my first. ...
New
mudasobwa
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
KristerV
Hey. Is there anyone here who creates agents in their apps? Not talking about using agents, but creating them. I’m finding it pretty diff...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
webofbits
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself. My main conc...
#ai
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews