lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 4a09a23 09/28: Work around JRE installation p


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 4a09a23 09/28: Work around JRE installation problem in Debian slim container
Date: Wed, 12 May 2021 18:14:43 -0400 (EDT)

branch: master
commit 4a09a231911a45afae986f23c05a08408bbae8cd
Author: Vadim Zeitlin <vadim@tt-solutions.com>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Work around JRE installation problem in Debian slim container
    
    Pre-create /usr/share/man/man1 directory which is used by the JRE
    package installation script, but doesn't exist in the slim image.
---
 .github/workflows/ci.yml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 4d76c62..0e6564f 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -84,6 +84,11 @@ jobs:
             packages="$packages clang libc++abi-dev libc++-dev"
           fi
 
+          # Work around for an apparent bug in either Debian slim Docker image
+          # or JRE installation script: it tries to use this directory, which
+          # doesn't exist, so create it preemptively.
+          sudo mkdir -p /usr/share/man/man1
+
           sudo apt-get -qq install $packages
 
       - name: Checkout



reply via email to

[Prev in Thread] Current Thread [Next in Thread]