Commit Graph

20 Commits

Author SHA1 Message Date
Nils Freydank 1632623c7a
Fix stage3 import path
As files can only be added from the current dir and below
I decided to introduce a new DISTFILES_STAGE3 and put the
stage3 tarballs fetched from upstream gentoo there.
2023-10-22 11:17:18 +02:00
Nils Freydank 3258794abb
Fix image downloads 2023-10-22 11:17:18 +02:00
Nils Freydank accf8c33e7
Provide the stage3 file via ARGS
My distfiles path on my host does not match the one mounted into the container.
Symlinks are not followed by podman, AFAICT due to security concerns.
Using ARGS to change the path seems reasonable to me.
2023-10-22 11:17:17 +02:00
Nils Freydank 86f6d4e8c4
Fix latest tag 2023-10-18 20:40:10 +02:00
Nils Freydank 8642162cb0
Import stage3 directly 2023-10-01 22:12:50 +02:00
Nils Freydank 0ca32aa2ae
Re-order tagging and tag cleanup 2023-10-01 19:52:28 +02:00
Nils Freydank 1eee414360
Add more comments 2023-10-01 19:52:27 +02:00
Nils Freydank 9a97b6c83f
Add details about the image’s architecture 2023-10-01 19:52:23 +02:00
Nils Freydank 5dfc2d3bb9
Fix memory limits
memory-swap actually means 'memory and swap together'.
2023-10-01 19:12:12 +02:00
Nils Freydank 290af04d1f
Exit with 1 (instead of -1/255) 2023-10-01 19:01:31 +02:00
Nils Freydank 5238124f3b
Add more error handling 2023-10-01 18:50:24 +02:00
Nils Freydank e51a145cca
Use a wrapper around mkdir 2023-10-01 18:50:24 +02:00
Nils Freydank 627411e999
Create function for basic error handling
(Yes, it might be a little bit inspired by the on used in Gentoo..)
2023-10-01 18:50:24 +02:00
Nils Freydank c9f23072ee
Switch to upper case for PODMAN_BUILD_ARGS
Bash variables are typically upper style,
so align with that.
2023-10-01 18:50:23 +02:00
Nils Freydank b7dfa096de
Move LOGDIR to log from logs 2023-08-31 21:46:08 +02:00
Nils Freydank d28a0fc25e
Stop hosts-leaking into the container 2023-08-06 21:34:30 +02:00
Nils Freydank 39f2d03f66
Make version and registry call-able from env for images, too 2023-07-29 17:30:39 +02:00
Nils Freydank 563eac9118
Add tag ”latest” 2023-07-02 10:43:36 +02:00
Nils Freydank e032139da6
Split IMAGE_TAG into REGISTRY plus VERSION 2023-07-02 10:43:36 +02:00
Nils Freydank cdadb5b7db
Rename OCI image builder script 2023-07-02 10:43:33 +02:00