Commit Graph

11 Commits (ca857a032a07d474510b2f169511c4b7e46dea00)

Author SHA1 Message Date
David Kebler ca857a032a new: add core RUN step
refactored: Dockefile template
refactor: example and move src/ there a simple example
new: distros.csv holds table of valid distros, their images and install/update commands
refactor: various fixes and adjustment in response to above
refactor: help vastly improved and updated
2023-04-22 08:19:45 -07:00
David Kebler efe8d0fa2d refactor: generate Dockerfile from a template
refactor src/ to be just a basic build
add examples
write up help.md and usage subcommand
add test folder for dev testing
improve install script
many numerous improved to build script,
 moved portions of build script to functions in helpers.lib
2023-04-14 21:27:40 -07:00
David Kebler 16bc3bd929 move making image name to a function
support try using build environment file
refactor Dockerfile to use heredoc and RUN --mount instead of COPY
refactor Dockerfile init RUN to copy /bin and env directories from source always
user build.env and run.env for additional build and run environment
bake run.env into image
2023-04-03 14:14:17 -07:00
David Kebler e5a57361dc new: add determining local host architecture for local build
use heredoc for RUN command
improve install script
add .env example
2023-04-01 07:17:43 -07:00
David Kebler bc0d3a72a5 refactored and rearranging loading the library
fix: build supports robust environment file loading allows override by options, etc.
fix: improved looking for valid BUILD_SRC
2023-03-27 11:07:25 -07:00
David Kebler 40a8dc2297 refactor: new BUIlD_SRC supported from multiple locations including environment
try: add entrypoint and env-file options, fix genric options
TODO: bind mount the source into the build directly (see dockerfile buildkit)
added example folder with examples
refactored: install script much more robust, allows custom target
removedj volume command from dockerfile
2023-03-25 11:27:22 -07:00
David Kebler b88ea929b0 minor refactoring of bind script
* fix image name generation
   * add logging directory and direct output to files there
removed linked mount in try script as btrfs does not create volume directories (bind mount only now)
move packages and init into separate directories to keep cache separate
fix some minor bugs
2023-03-22 09:10:54 -07:00
Kebler Network System Administrator 066aa72b83 fix: change make_tag to image_name
allow build to call image_name
change $SCRIPT to $BUILD_DIR
feat: support sourcing an environment file
2023-01-22 15:02:36 -08:00
Kebler Network System Administrator 4bc6727f20 feat: add on the fly volume creating and mapping to the host including bind mounting 2023-01-21 22:47:00 -08:00
Kebler Network System Administrator f2c9be5c29 fix making tags
add image_tags function
refactor image_tag function
2023-01-21 22:42:36 -08:00
Kebler Network System Administrator dfc0ecf966 convert scripts to functions and create library of secondary functions. Enable calling those directly form build script/function
more image scripts to /src folder
2023-01-17 15:20:49 -08:00