asciidoctor-web-pdf
asciidoctor-web-pdf copied to clipboard
Provide a docker image as an alternative install option
This was the Dockerfile for the image that I am testing internally at my company (using Docker Desktop). I abandoned the approach of installing via node; I downloaded the software package for Linux and use the COPY directive to copy the software into the image.
FROM centos/ruby-27-centos7
USER root
RUN yum -y install epel-release glibc libX11 libxcb libxcb libXcomposite libXcursor libXdamage libXext libXfixes libXi libXrender libXtst glib2 nss nss-util nspr cups-libs dbus-libs expat libXScrnSaver libXrandr alsa-lib pango cairo at-spi2-atk gtk3 gdk-pixbuf2 libgcc atk libdrm libxkbcommon mesa-libgbm at-spi2-core libxshmfence pcre libffi krb5-libs libcom_err openssl-libs glibc zlib systemd-libs libselinux libmount libXau libwayland-server cairo-gobject libwayland-client libepoxy fontconfig libXinerama libwayland-cursor libwayland-egl libthai firbidi pixman freetype libglvnd-egl libpng libglvnd-glx keyutils.libs nss-softokn-freebl libcap xz-libs lz4 libgcrypt libgpg-error elfutils-libs libblkid libuuid harfbuzz bzip2-libs libglvnd libattr elfutils-libelf graphite2
ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
COPY asciidoctor-web-pdf-linux-v1.0.0-alpha.14 /opt/app/
ENV PATH="/opt/app/asciidoctor-web-pdf-linux-v1.0.0-alpha.14:${PATH}"