From 567053d0792d2d82be47db6dd08c31f14897d933 Mon Sep 17 00:00:00 2001 From: Anton Nesterov Date: Thu, 4 Feb 2021 22:31:08 +0100 Subject: [PATCH] asiidoctor-pdf: Add HOME env (#434) * Add HOME env. Without it, the user has / as home implicitly, which breaks some commands that create files in users home * Bump the version Co-authored-by: Anton Nesterov --- utilities/ubi8-asciidoctor/Dockerfile | 2 ++ utilities/ubi8-asciidoctor/version.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/utilities/ubi8-asciidoctor/Dockerfile b/utilities/ubi8-asciidoctor/Dockerfile index 8ebac3f72..563815511 100644 --- a/utilities/ubi8-asciidoctor/Dockerfile +++ b/utilities/ubi8-asciidoctor/Dockerfile @@ -81,6 +81,8 @@ RUN pip3 install --no-cache-dir \ WORKDIR /documents VOLUME /documents +ENV HOME=/documents + USER 1001 CMD ["/bin/bash"] diff --git a/utilities/ubi8-asciidoctor/version.json b/utilities/ubi8-asciidoctor/version.json index 21bd7e2fd..876fcf7bf 100644 --- a/utilities/ubi8-asciidoctor/version.json +++ b/utilities/ubi8-asciidoctor/version.json @@ -1 +1 @@ -{"version":"v1.3"} +{"version":"v1.4"}