aboutsummaryrefslogtreecommitdiff
path: root/docker.nix
AgeCommit message (Collapse)Author
2024-04-08Format Nix code with `nixfmt`Rebecca Turner
Change-Id: I61efeb666ff7481c05fcb247168290e86a250151
2023-05-16fix "add an option to include flake-registry..."Markus S. Wamser
commit 6dbce3215fa2e30e1daafcc70d6926cd97987612 was missing a pair of parentheses
2023-03-22docker.nix: add an option to include flake-registry inside docker image (#6750)Alex Wied
Co-authored-by: Alex Wied <centromere@users.noreply.github.com> Co-authored-by: Rok Garbas <rok@floxdev.com>
2022-11-29Add nobody user/group to Nix docker imageRok Garbas
2022-09-14dockerImage: fix root shellMatthew Kenigsberg
Currently root's shell is set to a path that does not exist; this change sets it to the correct path to bash
2022-08-09docker.nix: Provide boolean for whether to bundle nixpkgsAlex Wied
2022-07-28docker.nix: Allow Nix configuration to be customizedAlex Wied
2022-07-01Allow specification of extra packages, maxLayers in Docker imageAlex Wied
2022-04-14feat: include openssh in docker imageJairo Llopis
When leveraging remote builders or cache in CI workloads, sometimes you need to configure nix to connect via SSH to a remote server. It is the case for example when using nixbuild.net. By including `openssh` package, CI should be able to reach remote builders when configured i.e. with environment variables.
2022-01-15docker: var/tmp make add -p option to mkdir to also create parent dirsJohn Axel Eriksson
2022-01-15docker: also create var/tmp as some tools rely on itJohn Axel Eriksson
2022-01-14Add git to the docker imageregnat
Fix #5896 See https://github.com/NixOS/docker/issues/33
2022-01-04Add iana-etc for /etc/protocols to default packagesSandro
2022-01-01docker.nix: set correct permissions on /tmpWolfgang Thaller
2021-12-21Add cacert to /etc/ssl/certs in the docker imageRok Garbas
Fixes #5797
2021-12-16docker: fix image so that nix profile worksJohn Axel Eriksson
nix profile will otherwise throw this error: error: path '/nix/var/nix/profiles/default/manifest.nix' is not in the Nix store That's not entirely true since manifest.nix is within a directory in the nix store but nix profile seems to require the manifest.nix itself to be a store path.
2021-11-16Make docker.nix match Nixpkgs's idiomsJohn Ericson
1. `target` is the wrong name, that is just for compilers per out standard terminology. We just need to worry about "build" and "host". 2. We only need one `pkgs`. `pkgs.buildPackages` is how we get anything we need at build time. 3. `crossSystem` is the name of a nixpkgs parameter that is actually an attribute set, not a 2-part "cpu-os" string. 3. `pkgsCross` effectively evaluates Nixpkgs twice, which is inefficient. It is just there for people poking around the CLI / REPL (and I am skeptical even that is a good idea), and *not* what written code should use, especially code that is merely parametric in the package set it is given. 4. We don't need to memoize Nixpkgs here because we are only doing one pkg set at a time (no `genAttrs`) so it's better to just delete all this stuff. `flake.nix` instead would do something like that, with `genAttrs` (though without `pkgsCross`), if and when we have hydra jobs for cross builds.
2021-11-11docker.nix: Use 'with'Eelco Dolstra
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-11-11Docker image with Nix insideRok Garbas