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
da61c57306
update readme
2023-03-27 11:34:56 -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
4fbb994fec
feat: new entrypoint script, calls start script which in turn has case statement
...
to be more flexible passing commands or executing a script when staring container
by default will start a shell
can map host user set of to be shared directories in the container (via volumes) if HOST_MAP is set
2023-01-21 22:53:03 -08:00
Kebler Network System Administrator
94d6e720e0
refactor common init script
...
include sysadmin and host users, permit sysadmin to do all sudo without password
2023-01-21 22:48:30 -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
9b90e79d4d
add package scripts for package install separation from initialization
2023-01-21 22:43:53 -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
c343cbb148
fix: deal with no src/ directory in current directory
...
fix: save old image by retagging or overwrite
add: allow only breaking cache for initialzation run of build
2023-01-21 22:41:14 -08:00
Kebler Network System Administrator
87bc2057c6
separate package install from initialization on dockefile build
2023-01-21 22:22:41 -08:00
Kebler Network System Administrator
6e0856c5de
add install script to /opt/bin
2023-01-17 15:42:56 -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
Kebler Network System Administrator
4f3b4b94fe
improved setting options for source script directory to accept absoulte path and to force use of base repo source (src)
2023-01-17 11:53:24 -08:00
Kebler Network System Administrator
6cef778b83
add usage (help) to build script
2022-10-22 08:23:16 -07:00
Kebler Network System Administrator
f50c85cce9
initial working build and supporting scripts
2022-10-20 18:48:17 -07:00
Kebler Network System Administrator
52d188e8c9
initial commit
2022-10-20 11:29:54 -07:00