All Projects → bitwalker → Alpine Erlang

bitwalker / Alpine Erlang

Licence: mit
An alpine image with Erlang installed, intended for releases

Programming Languages

erlang
1774 projects

Projects that are alternatives of or similar to Alpine Erlang

Docker Php Nginx
Docker image with Nginx 1.18 & PHP-FPM 7.4 on Alpine Linux
Stars: ✭ 581 (+695.89%)
Mutual labels:  alpine-linux, containers
Docker Gitlab
Dockerized GitLab
Stars: ✭ 7,084 (+9604.11%)
Mutual labels:  containers, docker-image
Docker Squid
Dockerfile to create a Docker container image for Squid proxy server
Stars: ✭ 669 (+816.44%)
Mutual labels:  containers, docker-image
Picluster
A Simplified Docker Swarm or Kubernetes Alternative to Container Scheduling and Orchestration
Stars: ✭ 390 (+434.25%)
Mutual labels:  containers, docker-image
Docker Kubectl
Containerized Kubernetes kubectl
Stars: ✭ 52 (-28.77%)
Mutual labels:  alpine-linux, docker-image
Bitnami Docker Wordpress
Bitnami Docker Image for WordPress
Stars: ✭ 476 (+552.05%)
Mutual labels:  containers, docker-image
Jekyll Docker
⛴ Docker images, and CI builders for Jekyll.
Stars: ✭ 804 (+1001.37%)
Mutual labels:  alpine-linux, docker-image
Stargz Snapshotter
Fast docker image distribution plugin for containerd, based on CRFS/stargz
Stars: ✭ 263 (+260.27%)
Mutual labels:  containers, docker-image
Bitnami Docker Tensorflow Serving
Bitnami Docker Image for TensorFlow Serving
Stars: ✭ 49 (-32.88%)
Mutual labels:  containers, docker-image
Docker Redmine
Docker Image for Redmine
Stars: ✭ 1,044 (+1330.14%)
Mutual labels:  containers, docker-image
Please Contain Yourself
A Docker tutorial written for people who don't actually know Docker already.
Stars: ✭ 385 (+427.4%)
Mutual labels:  containers, docker-image
Bitnami Docker Parse
Stars: ✭ 56 (-23.29%)
Mutual labels:  containers, docker-image
Umoci
umoci modifies Open Container images
Stars: ✭ 349 (+378.08%)
Mutual labels:  containers, docker-image
Docker Alpine
Docker containers running Alpine Linux and s6 for process management. Solid, reliable containers.
Stars: ✭ 574 (+686.3%)
Mutual labels:  alpine-linux, docker-image
Bitnami Docker Redis
Bitnami Redis Docker Image
Stars: ✭ 317 (+334.25%)
Mutual labels:  containers, docker-image
Docker Bind
Dockerize BIND DNS server with webmin for DNS administration
Stars: ✭ 769 (+953.42%)
Mutual labels:  containers, docker-image
Alpine Vim
"dockerized" Vim
Stars: ✭ 242 (+231.51%)
Mutual labels:  alpine-linux, docker-image
dockerfiles
Skeleton for a Docker nginx / php / mysql / redis development stack. Everything in its own container!
Stars: ✭ 12 (-83.56%)
Mutual labels:  docker-image, alpine-linux
Centos7 S2i Nodejs
DEPRECATED OpenShift S2I builder images for Node.js ✨
Stars: ✭ 34 (-53.42%)
Mutual labels:  containers, docker-image
Socat
Run socat command in alpine container
Stars: ✭ 53 (-27.4%)
Mutual labels:  alpine-linux, docker-image

Erlang on Alpine Linux

This Dockerfile provides a full installation of Erlang on Alpine, intended for running Erlang 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.

NOTE: This image is primarily intended to either be used as-is, or as the base for an image which is embellished with additional dependencies. It is also intended to be forked and tweaked as needed for those applications which require different build configurations of OTP. If the default configuration does not work for you, you will need to take one of the approaches described under Extending for your own application.

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 (versioning info is stripped here, but this is just to give you a general idea of what to expect):

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

Eshell VX.X  (abort with ^G)
1>
BREAK: (a)bort (c)ontinue (p)roc info (i)nfo (l)oaded
       (v)ersion (k)ill (D)b-tables (d)istribution
a

Extending for your own application

NOTE: The dependency requirements for your own application may need additional system packages installed via APK, or additional OTP applications from the standard library which are not built by default in order to save space. In the former case, you need to build your own image based on alpine-erlang which installs those extra packages. If you need additional OTP applications from the standard library, you will need to fork alpine-erlang and tweak the config flags for the build so that those applications are present.

FROM bitwalker/alpine-erlang:latest

# Set exposed ports
EXPOSE 5000
ENV PORT=5000

ENV MIX_ENV=prod

ADD yourapp.tar.gz ./

USER default

ENTRYPOINT ["./bin/yourapp"]
CMD ["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].