DirectorySecurity advisories
Sign in

Directory

erlang logo

erlang

Last changed
Get started with latest for free
docker pull cgr.dev/chainguard/erlang

Need access to a specific version? Contact us.

Sign in for updates

Get notified of upcoming product changes, critical vulnerability notifications and patches and more.

Sign in
Versions
Overview
Provenance
Specifications
SBOM
Vulnerabilities
Advisories

Container image for building Erlang applications.

Download this Image

The image is available on cgr.dev:

docker pull cgr.dev/chainguard/erlang:latest

Usage

The image can be used to run the erl tool, or to compile and run Erlang scripts.

For example, a simple Hello World script in Erlang, hello.erl:

-module(hello).
-export([hello_world/0]).

hello_world() -> io:fwrite("hello, world\n").

can be compiled in Docker with:

FROM cgr.dev/chainguard/erlang
COPY . .
RUN erlc hello-world.erl
ENTRYPOINT [ "erl" ]
CMD [ "-noshell", "-eval", "hello:hello_world().", "-s", "init", "stop" ]

Running this image should output hello, world.

Licenses

Chainguard Images contain software packages that are direct or transitive dependencies. The following licenses were found in the "latest" version of this image:

  • Apache-2.0

  • GCC-exception-3.1

  • GPL-2.0-only

  • GPL-2.0-or-later

  • GPL-3.0-or-later

  • LGPL-2.1-or-later

  • MIT

View more

For a complete list of licenses, please refer to this Image's SBOM.

Software license agreement

Related images

Category
application

Products

Chainguard Images

© 2024 Chainguard, Inc.