Comments (8)
@azimut with the latest changes you should now be able to simplify your repo setup:
./rpi-cluster
├── builder
│ ├── bob-armv7a
│ ├── bob-armv7a-musl
│ └── bob-armv7a-musl-libre
└── images
build.conf
README.md
Then just clone the whole thing under gentoobb/dock
.
Set STAGE3_BASE
for bob-armv7a
and bob-armv7a-musl
. bob-musl's build.conf should be pretty much what you want, probably enough to change STAGE3_BASE
and ARCH
. bob-armv7a-musl-libre
can just extend bob-armv7a-musl
by configuring BUILDER
.
from kubler.
Nice. Tried the minimal
flag for ncurses, seems to work but "only" seeing about 1mb
size reduction on my end.
from kubler.
Looking at /usr/share/
in the bash image the only big chunk left seems to be misc/magic.mgc
with around 5mb
. Removing that is probably not a good idea, but providing a minimal version might be an option.
from kubler.
right, probably at docker image level is about that, I just base it on "du"
sh-4.3# du -sh /usr/share/terminfo/
6.7M /usr/share/terminfo/
Ha! I will consider removing that on my image.
btw, other rabbit-hole to reduce size is libressl https://github.com/azimut/rpi-cluster/blob/master/gentoo-bb/namespaces/stage3-armv7a-musl-libressl/dock/gentoobb-arm-musl-libressl/builder/bob/Buildconfig.sh
but probably not applicable here due lack of nodejs support for it
from kubler.
but probably not applicable here due lack of nodejs support for it
+bundled-openssl is solution (for me, at least) for now (or maybe forever)
from kubler.
@azimut we (node.js) have a work in progress patch for libressl but it's alpha and isn't on par feature-wise: nodejs/node#9376
from kubler.
@edannenberg That worked, not the easiest migration ever (mainly due I had a typo on CFLAGS that collided with the new approach of force rebuild of bob-core if CFLAGS are changed), but it worked!. I will create other bug for libressl which is the pending topic that appeared here. Any reason to leave this open? I am not building anything that pulls "file" so I can't help with the magic.mgc test.
from kubler.
Glad it worked out.
the new approach of force rebuild of bob-core if CFLAGS are changed
Was sadly no other way around it. CFLAGS
need to be defined per stage3 build container now, with only one stage3 we could just export the namespace/global default, but now this context may no longer be accurate after the stage3 build container is built.
Any reason to leave this open? I am not building anything that pulls "file" so I can't help with the magic.mgc test.
magic.mgc
will probably amount to 1MB image size, so gain/pain ratio fiddling with that is not really worth it IMO. Closing. :)
from kubler.
Related Issues (20)
- kubler build interactive behaviour difference: continues on errors in configure_bob() HOT 1
- Kubler bob-musl builder fails to emerge openssh due to util-linux's su use-flag requiring pam HOT 4
- Kubler Build breaks with docker buildx HOT 5
- Kubler download_portage_snapshot() dl_name $_TODAY timezone difference can have different name to origin
- Patches in acct-user.eclass failing due to recent changes HOT 5
- User eclass patches broken again HOT 2
- flaggie will be removed from the portage tree on 2023-01-24. HOT 5
- Here we go again: user eclasses have been updated again and causing trouble for Kubler HOT 2
- Apptainer/Singularity support? HOT 2
- flaggie-0.99.3 does not support --strict and --destructive-cleanup
- Use Dockerfile ARGs HOT 4
- bob-core Dockerfile template clobbered RUN command
- error when calling app-portage/flaggie HOT 7
- permission thing HOT 16
- Support proxied / restrictive environments HOT 2
- [BUG]: `POST_BUILD_HC=false` is not honoured HOT 2
- user eclasses updated again
- Example mytest/figlet fails without optional GPG keys HOT 3
- missing gfortran.so HOT 2
- kubler builds broken core image if xzcat not found HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kubler.