39 Commits

Author SHA1 Message Date
b4c62af689
Elaborate make.conf 2023-10-22 13:14:53 +02:00
5ddc30216c
Convert the readme to asciidoc 2023-10-22 11:33:49 +02:00
5940ed8065
Merge branch 'build-container-from-stage3'
Omit the step of using the official gentoo images
and use the stage3 tarballs directly.
2023-10-22 11:21:42 +02:00
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
3258794abb
Fix image downloads 2023-10-22 11:17:18 +02:00
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
86f6d4e8c4
Fix latest tag 2023-10-18 20:40:10 +02:00
8642162cb0
Import stage3 directly 2023-10-01 22:12:50 +02:00
0ca32aa2ae
Re-order tagging and tag cleanup 2023-10-01 19:52:28 +02:00
1eee414360
Add more comments 2023-10-01 19:52:27 +02:00
9a97b6c83f
Add details about the image’s architecture 2023-10-01 19:52:23 +02:00
97911e1c72
Add USE dep for openjdk 2023-10-01 19:15:19 +02:00
4125b7274c
Add USE dep for podman 2023-10-01 19:14:04 +02:00
5dfc2d3bb9
Fix memory limits
memory-swap actually means 'memory and swap together'.
2023-10-01 19:12:12 +02:00
290af04d1f
Exit with 1 (instead of -1/255) 2023-10-01 19:01:31 +02:00
605e987bc8
Drop unused variable 2023-10-01 19:00:41 +02:00
5238124f3b
Add more error handling 2023-10-01 18:50:24 +02:00
e51a145cca
Use a wrapper around mkdir 2023-10-01 18:50:24 +02:00
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
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
a554ee9a9f
Fix some breackage on glibc upgrades 2023-08-31 22:13:26 +02:00
b7dfa096de
Move LOGDIR to log from logs 2023-08-31 21:46:08 +02:00
798193638d
Run emerge --depclean 2023-08-27 19:37:47 +02:00
a2bac80ff5
When done, fix rights of ${LOGDIR} 2023-08-26 19:07:52 +02:00
dc59cf894c
Tweak the package building process 2023-08-26 19:05:52 +02:00
d28a0fc25e
Stop hosts-leaking into the container 2023-08-06 21:34:30 +02:00
cf5162ba15
Run perl-cleaner, too
The script is part of app-admin/perl-cleaner.
2023-08-04 20:34:21 +02:00
39f2d03f66
Make version and registry call-able from env for images, too 2023-07-29 17:30:39 +02:00
591508e3ce
Make version and registry call-able from env 2023-07-29 17:16:58 +02:00
d5cf377e57
Add a whitespace for cosmetical reasons 2023-07-23 23:54:19 +02:00
b28b8d10e4
Add repos.conf into container 2023-07-15 20:52:26 +02:00
feccb525db
Add a build wrapper and a dir for custom USE flags 2023-07-02 11:32:24 +02:00
563eac9118
Add tag ”latest” 2023-07-02 10:43:36 +02:00
e032139da6
Split IMAGE_TAG into REGISTRY plus VERSION 2023-07-02 10:43:36 +02:00
cdadb5b7db
Rename OCI image builder script 2023-07-02 10:43:33 +02:00
4c784c61fd
Add a comment for 'no-cache' 2023-06-17 23:29:18 +02:00
18f42bf552
Adopt image tag to new repo 2023-06-17 23:27:45 +02:00
b436c9c803
Add Dockerfile, build.sh wrapper and files 2023-06-17 20:24:22 +02:00
b6df833379
Initial commit 2023-06-17 20:19:02 +02:00