mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 10:57:55 +01:00
only link if the paths exist
This commit is contained in:
parent
1ec2b525f7
commit
3af14ee4b7
2 changed files with 10 additions and 1 deletions
|
|
@ -7,6 +7,16 @@ do
|
|||
export $entry
|
||||
done
|
||||
|
||||
if [[ -d /cache/skopeo ]]
|
||||
then
|
||||
ln -s /cache/skopeo /build-container-installer/container
|
||||
fi
|
||||
|
||||
if [[ ! -d /cache/dnf ]]
|
||||
then
|
||||
mkdir /cache/dnf
|
||||
fi
|
||||
|
||||
# Pull container
|
||||
make container/${IMAGE_NAME}-${IMAGE_TAG} $@
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue