mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 02:47:56 +01:00
Allow caching of dnf (#46)
This commit is contained in:
parent
bfa150ceeb
commit
c3dfff5c5b
13 changed files with 166 additions and 32 deletions
|
|
@ -12,6 +12,16 @@ do
|
|||
export ${key}="${value}"
|
||||
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