minideb
pkg
DISCONTINUED
Our great sponsors
minideb | pkg | |
---|---|---|
6 | 90 | |
1,951 | 24,099 | |
1.0% | - | |
6.9 | 6.3 | |
14 days ago | 3 months ago | |
Shell | JavaScript | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
minideb
-
Setting up a packaging environment for Alpine Linux (introducing alpkg)
postgres:15-bullseye 2bb008a38e7c 379MB
[1] https://github.com/bitnami/minideb
However, it is sometimes a good idea to benchmark the speed of different images, as sometimes a significant speed loss is possible.
-
I deleted 78% of my Redis container and it still works
as is stated initially, that goes back to how bitnami is building its Docker images, basing on a set of debian packages (minideb) - there's also a shell library/framework embedded that does useful things, but that makes you read more code when you go check how the sausage is made. That minideb is the basis for the higher CVE count compared to scratch or alpine images.
> it’s a well-kept secret that no one wants to talk about
the maintainer side most casual docker image users aren't aware of I'd rephrase, but bitnami at least documents the issue
-
Minimal base images roundup
Ah, yeah it's a little more confusing because it's using the debootstrap tool (https://wiki.debian.org/Debootstrap) to build the container image filesystem. You can see all the gory logic here: https://github.com/bitnami/minideb/blob/master/buildone and https://github.com/bitnami/minideb/blob/master/mkimage It's a bunch of shell scripting that's not really meant to be interpreted by anyone that isn't a debian expert though, so don't feel bad if it looks really confusing. I think the overall thing is that minideb installs the absolute bare minimum system with debootstrap and even strips out a few essential packages like trusted SSL CAs, etc. If you need anything (including those essential packages) you're meant to just install_packages install them--it's all using the same apt sources and packages as debian.
I really like minideb from bitnami: https://github.com/bitnami/minideb
-
Microsoft repo installed on all Raspberry Pi’s
Do you know why this is? Because it's part of the base file system. Here is a line from the build script for minideb (basically the smallest image needed to run a container): https://github.com/bitnami/minideb/blob/e4f37e8a5d271d93b79c3f4caa49c4ceb95d8eec/mkimage#L52
pkg
-
Tailwind CSS v4.0.0 Alpha
> Standalone CLI — we haven’t worked on a standalone CLI for the new engine yet, but will absolutely have it before the v4.0 release.
This part is the most exciting to me. Given the rest of the release announcement, I'm assuming this means that it'll be built in Rust rather than embed Node. While I'm not a Rust zealot of anything, I'm very partial to not embedding Node. Particularly when it depends on using Vercel's now-abandoned pkg[1] tool.`
-
Things I've learned about building CLI tools in Python
The npm package called "pkg" seems to be the standard for packaging NodeJS applications
https://www.npmjs.com/package/pkg
Unfortunately you also need to bundle all your code into a single file for it to work, but you can use any bundler (webpack, parcel, etc) you want at least
-
Deno 1.35: A fast and convenient way to build web servers
Nodejs support for "single executable applications" is getting there - this issue below is preventing wider adoption at the moment:
"The single executable application feature currently only supports running a single embedded script using the CommonJS module system."
https://nodejs.org/api/single-executable-applications.html
Should be an awesome game changer for node.js when the feature gets rounded out.
Also check out vercel's `pkg`: https://github.com/vercel/pkg/issues/1291
-
Can I include Node inside my project?
Yes, you can. Check out pkg for a fun option, which can package up your project and Node.js into a single executable.
- Bun v0.6.0 – Bun's new JavaScript bundler and minifier
- How to restrict the access to an on premise node server?
-
Tips for reducing Docker image size
package the app using https://github.com/vercel/pkg and use a smaller base image like alpine, busybox or even scratch (if possible)
-
Theorizing ways to compile multiple JavaScript files into a portable executable
pkg is a tool that bundles up either JS source code or V8 bytecode, along with NodeJS in a binary file and a virtual filesystem, and produces an executable binary file.
- How do I export/distribute a Node.js command line application?
-
Open source StreamDeck alternative
Use PKG to create a single executable
What are some alternatives?
nexe - 🎉 create a single executable out of your node.js apps
ncc - Compile a Node.js project into a single file. Supports TypeScript, binary addons, dynamic requires.
reverse-engineering - List of awesome reverse engineering resources
webpack - A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.
bytenode - A minimalist bytecode compiler for Node.js
oclif - CLI for generating, building, and releasing oclif CLIs. Built by Salesforce.
parcel - The zero configuration build tool for the web. 📦🚀
Lean and Mean Docker containers - Slim(toolkit): Don't change anything in your container image and minify it by up to 30x (and for compiled languages even more) making it secure too! (free and open source)
Next.js - The React Framework
gulp - A toolkit to automate & enhance your workflow
deno - A modern runtime for JavaScript and TypeScript.
stego-toolkit - Collection of steganography tools - helps with CTF challenges