Contains SBTal ruby resources, in particular asciidoctor
6.1K
Språkbanken Tal's Ruby resource image. Provides a pinned Ruby installation and
the Asciidoctor gem family, built from source on top of
sprakbankental/os-ubuntu.
This is a resource cache image: its primary purpose is to supply Ruby and
gems to downstream images via COPY --from=. It can also be run directly.
/opt/ruby/usr/bin/ruby and /usr/bin/gem symlinksInstalled into /opt/rubygems (GEM_HOME):
asciidoctor 2.0.26asciidoctor-pdf 2.3.24asciidoctor-bibtex 0.9.0asciidoctor-epub3 2.3.0Direct symlinks to gem binaries:
/usr/bin/asciidoctor/usr/bin/asciidoctor-pdf/usr/bin/asciidoctor-epub3SBTal wrapper scripts with default options:
/usr/bin/adoc — runs asciidoctor with SBTal defaults/usr/bin/adoc-pdf — runs asciidoctor-pdf with SBTal defaults/usr/bin/adoc-epub3 — runs asciidoctor-epub3 with SBTal defaultsGEM_HOME is exported into downstream runtime environments automatically.
ARG OCI_BASIC_VERSION=stable
FROM sprakbankental/ruby:${OCI_BASIC_VERSION}-aggr AS aggr-ruby
FROM sprakbankental/os-ubuntu:${OCI_BASIC_VERSION} AS prod-env
# ...
FROM prod-env AS prod
RUN --mount=type=bind,from=aggr-ruby,source=/artifacts,target=/artifacts \
cp -a /artifacts/. /
The -aggr tag carries the artifact tree only (no OS layer). Use it as the
source for COPY --from= or bind-mount operations.
docker run --rm sprakbankental/ruby:stable ruby --version
docker run --rm sprakbankental/ruby:stable asciidoctor --version
Follows the same tag scheme as sprakbankental/os-ubuntu. See that image for
the full tag reference.
Each version publishes two targets:
| Tag suffix | Contents |
|---|---|
| (none) | Full runnable image (runtime stage) |
-aggr | Artifact tree only; use as a COPY --from= source |
Content type
Image
Digest
sha256:8d4d40752…
Size
407 MB
Last updated
5 months ago
docker pull sprakbankental/ruby