#distribute gleam program
1 messages · Page 1 of 1 (latest)
Here's a thread I started this week that partially covers this: https://discordapp.com/channels/768594524158427167/1313999113746120778
A container image, rpm package, or anything similar would be the way to go
I didn't know about gleam export Thanks @heavy ocean . As far as deployment, docker would work. FWIW, if someone needs, this Dockerfile builds latest erlang from source in Linux.
I come from Java /C++ world and loving gleam's simplicity so far. Lack of magic is so liberating!
How come you've decided to compiler Erlang rather than use an existing Erlang image?
because I don't like apt-get polluting my host system. This docker image builds erlang, then I simply copy the /opt/erlang folder from docker container to my host system - keeping everything in one folder.
yes. Ideally use same ubuntu base image for Dockerfile.
There's some Ubuntu builds you could use here too https://github.com/hexpm/bob?tab=readme-ov-file#erlang-builds
ah! beautiful!