format hello-docker
Some checks failed
nix CI format / amd64 (pull_request) Failing after 24m20s

This commit is contained in:
Aaron Honeycutt 2026-01-11 09:19:06 -07:00
parent 77efc5e213
commit 5abaab4e21

View file

@ -1,25 +1,25 @@
let
pkgs = import <nixpkgs> {};
in
pkgs.dockerTools.buildImage {
name = "hello";
tag = "latest";
pkgs.dockerTools.buildImage {
name = "hello";
tag = "latest";
copyToRoot = pkgs.buildEnv {
name = "image-root";
paths = [
pkgs.hello
pkgs.busybox
];
pathsToLink = [ "/bin" ];
};
copyToRoot = pkgs.buildEnv {
name = "image-root";
paths = [
pkgs.hello
pkgs.busybox
];
pathsToLink = ["/bin"];
};
runAsRoot = ''
mkdir -p /data
'';
runAsRoot = ''
mkdir -p /data
'';
config = {
Cmd = [ "/bin/hello" ];
WorkingDir = "/data";
};
}
config = {
Cmd = ["/bin/hello"];
WorkingDir = "/data";
};
}