mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 02:47:56 +01:00
feat: pull back updates from downstream (#14)
This commit is contained in:
parent
72f665c64a
commit
97b27601f6
14 changed files with 463 additions and 182 deletions
24
entrypoint.sh
Normal file
24
entrypoint.sh
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -ex
|
||||
|
||||
for entry in $@
|
||||
do
|
||||
export $entry
|
||||
done
|
||||
|
||||
# Pull container
|
||||
make container/${IMAGE_NAME}-${IMAGE_TAG} $@
|
||||
|
||||
# Build base ISO
|
||||
make boot.iso $@
|
||||
|
||||
# Add container to ISO
|
||||
make build/deploy.iso $@
|
||||
|
||||
# Make output dir in github workspace
|
||||
mkdir /github/workspace/build || true
|
||||
|
||||
# Copy resulting iso to github workspace and fix permissions
|
||||
cp build/deploy.iso /github/workspace/build
|
||||
chmod -R ugo=rwX /github/workspace/build
|
||||
Loading…
Add table
Add a link
Reference in a new issue