refactor utils, nextcloud image, add fetch-docker script

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
ahuston-0 2024-08-15 23:36:45 -04:00
parent bff8bcd72c
commit 839278ef88
No known key found for this signature in database
GPG Key ID: 1FACF4075E3212F7
5 changed files with 2 additions and 10 deletions

View File

@ -1,12 +1,6 @@
{ pkgs, ... }:
let
nextcloud-apache = pkgs.dockerTools.pullImage {
imageName = "nextcloud";
imageDigest = "sha256:2ab0c5de2afd33c55721e69e87bd1667cad6c4550ba0fd0303cfeb7abb260750";
sha256 = "11fh4jaz1asiihf2092sh7ma9xm35hmnkafpbjr3igkv8jicsky1";
finalImageName = "nextcloud";
finalImageTag = "apache";
};
nextcloud-apache = pkgs.dockerTools.pullImage (import ./nextcloud-apache.nix);
in
pkgs.dockerTools.buildImage {

View File

@ -6,7 +6,7 @@
}:
let
nextcloud-image = import ./nextcloud-image.nix { inherit pkgs; };
nextcloud-image = import ./nextcloud-image { inherit pkgs; };
in
{
virtualisation.oci-containers.containers = {

View File

@ -14,9 +14,7 @@ parent_path=$(dirname "$script_path")
# relpath is the relative path to the parent_path where you want the file written
# format: <image name>,<image tag>,<image architecture>,<os>,<relpath>
images=(
# commented out until palatine-hill docker changes are live
"nextcloud,apache,amd64,linux,/systems/palatine-hill/docker/nextcloud-image/nextcloud-apache.nix"
)
IFS=","
while read -r name tag arch os relpath; do