elixir
Entorno de ejecución · Language runtime · standard · v1.19.5
Runtime Elixir reforzado sobre la máquina virtual BEAM, construido sobre Erlang/OTP, para aplicaciones concurrentes y tolerantes a fallos (por ejemplo, Phoenix). Última versión estable (1.18).
Línea de versión
La línea más reciente vive en la página base; las líneas más antiguas tienen su propia página para que puedas fijar y verificar exactamente esa versión.
Informe de seguridad (Trivy)
Informe de seguridad (Trivy) · elixir 1.19.5
Versiones publicadas
3 etiquetasCada etiqueta es un índice multiarquitectura (amd64 + arm64) fijado por digest. Etiquetada por versión, nunca :latest.
Úsala como imagen base
Refiérela en la línea FROM de tu Dockerfile. Sin root, sistema de archivos raíz de solo lectura, compilada para amd64 y arm64.
FROM ghcr.io/quenchworks/images/elixir:1.19.5O descárgala directamente
docker pull ghcr.io/quenchworks/images/elixir:1.19.5- Línea de versión
- 1.19.5
- Línea más reciente
- 1.18.4, 1.19.5, 1.17.3
- Arquitecturas
- amd64, arm64
- Se ejecuta como
- nonroot (uid 1001)
- Sistema de archivos raíz
- solo lectura
- Licencia
- Apache-2.0
Verifica la cadena de suministro
Esta imagen está firmada con cosign y lleva un SBOM SPDX y una atestación de procedencia de compilación SLSA en el mismo digest. Comprueba las tres antes de construir sobre ella:
# 1. signature — built and signed by QuenchWorks CI
cosign verify ghcr.io/quenchworks/images/elixir:1.19.5 \
--certificate-identity-regexp 'https://github.com/quenchworks/.+' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com
# 2. SLSA build provenance — which workflow built it, from what
cosign verify-attestation --type https://slsa.dev/provenance/v1 ghcr.io/quenchworks/images/elixir:1.19.5 \
--certificate-identity-regexp 'https://github.com/quenchworks/.+' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com
# 3. SPDX SBOM — the package inventory
cosign verify-attestation --type https://spdx.dev/Document/v2.3 ghcr.io/quenchworks/images/elixir:1.19.5 \
--certificate-identity-regexp 'https://github.com/quenchworks/.+' \
--certificate-oidc-issuer https://token.actions.githubusercontent.comConsulta la guía de SBOM y procedencia para leer el SBOM y usar estas comprobaciones en CI.
Dockerfile recomendado para 1.19.5
Build a self-contained OTP release with mix in the build stage, then copy that release onto a clean elixir base. The release bundles the BEAM and your compiled app; only prod deps are included.
# Build stage: fetch deps and assemble a prod mix release.FROM ghcr.io/quenchworks/images/elixir:1.19.5 AS buildUSER rootWORKDIR /appENV MIX_ENV=prod \ MIX_HOME=/tmp/mix \ HEX_HOME=/tmp/hex
RUN ["mix", "local.hex", "--force"]RUN ["mix", "local.rebar", "--force"]COPY mix.exs mix.lock ./RUN ["mix", "deps.get", "--only", "prod"]RUN ["mix", "deps.compile"]COPY . .RUN ["mix", "release"]
# Runtime stage: copy the self-contained release onto a clean elixir base.FROM ghcr.io/quenchworks/images/elixir:1.19.5 AS runtimeWORKDIR /appENV HOME=/tmpCOPY --from=build /app/_build/prod/rel/app ./USER 1001EXPOSE 4000CMD ["bin/app", "start"]Este Dockerfile está fijado a la línea 1.19.5 . Para el recorrido línea por línea y las variantes de ecosistema (npm/Yarn, pip/uv/Poetry, Maven/Gradle), consulta la guía Crear imágenes reforzadas.
Proyecto original: https://elixir-lang.org