All Projects → bitwalker → Alpine Elixir

bitwalker / Alpine Elixir

Licence: mit
A Dockerfile based on my alpine-erlang image for Elixir applications

Labels

Projects that are alternatives of or similar to Alpine Elixir

Pu Gan
PU-GAN: a Point Cloud Upsampling Adversarial Network, ICCV, 2019
Stars: ✭ 173 (-6.99%)
Mutual labels:  makefile
Awesome Scanning
A curated list of awesome projects to simplify and improve paper scanning.
Stars: ✭ 178 (-4.3%)
Mutual labels:  makefile
351elec
Handheld firmware optimized for the Anbernic RG351P/M devices.
Stars: ✭ 179 (-3.76%)
Mutual labels:  makefile
Hx dk for nordic 52840 ble
该代码仓主要用于发布基于红旭开发板的NORDIC 52840 BLE教程(This repository is mainly to publish the NORDIC 52840 BLE tutorials based on the HX DK)
Stars: ✭ 175 (-5.91%)
Mutual labels:  makefile
Pyeco
pyeco翻译
Stars: ✭ 177 (-4.84%)
Mutual labels:  makefile
Kios
A Linux OS created by Buildroot which runs Kerberos Open Source out-of-the-box.
Stars: ✭ 178 (-4.3%)
Mutual labels:  makefile
Gcc4mbed
Project to allow GCC compilation of code using mbed SDK libraries.
Stars: ✭ 171 (-8.06%)
Mutual labels:  makefile
Rudix
Build system target on macOS
Stars: ✭ 184 (-1.08%)
Mutual labels:  makefile
Usb2 Power Hub
4-Port High Power USB 2.0 Hub
Stars: ✭ 178 (-4.3%)
Mutual labels:  makefile
React Makes You Sad
Here’s a flowchart to make you happy again!
Stars: ✭ 2,094 (+1025.81%)
Mutual labels:  makefile
Zeus
An Electrifying Build System
Stars: ✭ 176 (-5.38%)
Mutual labels:  makefile
Binary Samples
Samples of binary with different formats and architectures. A test suite for your binary analysis tools.
Stars: ✭ 177 (-4.84%)
Mutual labels:  makefile
Vpnpivot
Explore the network using VPNPivot tool
Stars: ✭ 179 (-3.76%)
Mutual labels:  makefile
Explainers
Explainers from WebKit contributors
Stars: ✭ 174 (-6.45%)
Mutual labels:  makefile
Crithit
Takes a single wordlist item and tests it one by one over a large collection of websites before moving onto the next. Create signatures to cross-check vulnerabilities over multiple hosts.
Stars: ✭ 182 (-2.15%)
Mutual labels:  makefile
Proprietary vendor oneplus
Stars: ✭ 172 (-7.53%)
Mutual labels:  makefile
Shashlik Build
Stars: ✭ 178 (-4.3%)
Mutual labels:  makefile
Badges
📝 Markdown code for lots of small badges 🎀 📌 (shields.io, forthebadge.com etc) 😎. Contributions are welcome! Please add yours!
Stars: ✭ 2,987 (+1505.91%)
Mutual labels:  makefile
Rust Async
Demystifying Asynchronous Rust
Stars: ✭ 184 (-1.08%)
Mutual labels:  makefile
Macos Fn Toggle
A macOS app to quickly toggle the behavior of the fn key.
Stars: ✭ 178 (-4.3%)
Mutual labels:  makefile

Elixir on Alpine Linux

This Dockerfile provides a full installation of Erlang and Elixir on Alpine, intended for running releases, so it has no build tools installed. The Erlang installation is provided so one can avoid cross-compiling releases. The caveat of course is if one has NIFs which require a native compilation toolchain, but that is left as an exercise for the reader.

Usage

NOTE: This image sets up a default user, with home set to /opt/app and owned by that user. The working directory is also set to $HOME. It is highly recommended that you add a USER default instruction to the end of your Dockerfile so that your app runs in a non-elevated context.

To boot straight to a prompt in the image:

$ docker run --rm -it --user=root bitwalker/alpine-elixir iex
Erlang/OTP XX [erts-X.X] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:10] [hipe] [kernel-poll:false]

Interactive Elixir (<version>) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)>

Extending for your own application:

FROM bitwalker/alpine-elixir:latest

# Set exposed ports
EXPOSE 5000
ENV PORT=5000

ENV MIX_ENV=prod

COPY yourapp.tar.gz ./
RUN tar -xzvf yourapp.tar.gz

USER default

CMD ./bin/yourapp foreground

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].