diff --git a/build-gitlab-image.sh b/build-gitlab-image.sh new file mode 100644 index 0000000..76520f8 --- /dev/null +++ b/build-gitlab-image.sh @@ -0,0 +1,3 @@ +nix-build nixDockImg.nix +podman load < result +podman push registry.gitlab.com/frie321984/frieweb:latest diff --git a/nixDockImg.nix b/nixDockImg.nix index 039fabb..6716ba2 100644 --- a/nixDockImg.nix +++ b/nixDockImg.nix @@ -1,9 +1,9 @@ { pkgs ? import {} }: with pkgs; dockerTools.buildLayeredImage { - name = "hello"; + name = "registry.gitlab.com/frie321984/frieweb"; tag = "latest"; - contents = [ cowsay bashInteractive coreutils catimg ]; + contents = [ cowsay bashInteractive coreutils catimg python3 nodejs_22 lftp gnumake imagemagick ]; config.Cmd = [ "/bin/bash" ]; }