lets try another avenue...
Some checks failed
Test action / Print hello world (push) Failing after 13s
Some checks failed
Test action / Print hello world (push) Failing after 13s
This commit is contained in:
parent
33f9a7fbd8
commit
b8e43fedba
3 changed files with 23 additions and 28 deletions
|
@ -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"]
|
|
@ -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" ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue