Nixpkgs version Stable (24.11) Describe the bug Derivations built withdockerTools.streamLayeredImagecan't uselib.getExe. Steps to reproduce # flake.nix{outputs={nixpkgs,...}:letstreamer=nixpkgs.legacyPackages.x86_64-linux.dockerTools.streamLayeredImage{name="hello";contents=[nixpkgs.legacyPackages.x...
The docker images built e.g. likenixpkgs#pkgsCross.armv7l-hf-multiplatform.pkgsMusl.dockerTools.examples.layered-imageunnecessarily contain a nativebashandlinux-headers, causing roughly 10 MB of bloat (which isn't much, but given the size of the entire image is only 16 MB, it's more bloat...
回滚方便,升级也方便,不像 docker image一升级 openssl 啥的就是重新打整个 docker image 重新下载几...
最近对 NixOS 由轻粉转向中黑,nix 粉丝经常鼓吹其函数式包管理以及可复现,其实纯属 yy,NixOS 的可复现依赖于 configuration.nix+ nixpkgs版本,没人会钉死 nixpkgs 版本。NixOS 的最大价值在于包级别的多版本、多环境共存,比 Docker 那种 fs image级别的多版本、多环境共存更节约存储,更容易升级,但缺点也很明显,...
demo-docker demo-windows-devshell demo-macos demo-linode-nginx demo-raspberry-transmission Create Development shells Create reproducible software environments which can be used with Linux, macOS, and Windows. Learn more Home Manager Create a Home Manager configuration to manage settings and packages in...
在NixOS上安装X,可以按照以下步骤进行操作: 1. 打开终端,以root用户身份登录或使用sudo命令获取管理员权限。 2. 更新系统软件包列表,执行以下命令: ``` nix-c...
要在Windows上运行64位Redis ,可以从https://github.com/MSOpenTech/redis 获取一份Redis ...
Project Docker Hub pull rate limits begin April 1, 2025 and might affect CI/CD pipelines that pull Docker images. To prevent pipeline failures, configure the GitLab Dependency Proxy to authenticate with Docker Hub. Authenticate with Docker HubLearn more ...
Container Registry Cleanup is not scheduled. Updated
Describe the bug Nix-friendly bash scripts which use #!/usr/bin/env bash shebang don't work in docker images built by buildLayeredImage (and, transitively, by streamLayeredImage) This is caused by /usr/bin/env not being created and all p...