lets try another avenue...
Some checks failed
Test action / Print hello world (push) Failing after 13s

This commit is contained in:
Chris Kruining 2025-09-04 13:47:02 +02:00
parent 33f9a7fbd8
commit b8e43fedba
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2
3 changed files with 23 additions and 28 deletions

View file

@ -1,8 +0,0 @@
FROM docker.io/nixos/nix:latest
RUN nix-env -iA nixpkgs.nodejs_24 nixpkgs.podman
RUN echo "experimental-features = nix-command flakes pipe-operators" >> /etc/nix/nix.conf
RUN echo '{ "default": [ {"type":"insecureAcceptAnything"} ] }' >> /etc/containers/policy.json
CMD ["/bin/bash"]

View file

@ -0,0 +1,11 @@
{
pkgs ? import <nixpkgs> {},
pkgs_linux ? import <nixpkgs> { system = "x86_64-linux"; },
}:
pkgs.dockerTools.buildImage {
name = "default";
config = {
Cmd = [ "${pkgs_linux.hello}/bin/hello" ];
};
}