Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

Ensure dependencies #220

Closed
23 tasks done
nicholasdille opened this issue Jan 27, 2022 · 0 comments
Closed
23 tasks done

Ensure dependencies #220

nicholasdille opened this issue Jan 27, 2022 · 0 comments

Comments

@nicholasdille
Copy link
Owner

nicholasdille commented Jan 27, 2022

Implement:

  • Declare dependent tools
    declare -A deps
    deps["a"]="b"
    deps["c"]="a,b"
  • Add dependent tools to installation list if ONLY_INSTALL
    if test -n "${deps[${tool}]}"; then
        echo "  deps: ${deps[${tool}]}"
        for dep in $(echo "${deps[${tool}]}" | tr ',' ' '); do
            echo "  dep: ${dep}"
        done
    fi
  • Allow skipping dependencies with new parameter --no-dependencies/NO_DEPENDENCIES
  • Wait for dependent tool to be installed or rather wait for dependent binary to be present (skip if --no-dependencies/NO_DEPENDENCIES)

Known dependencies:

  • docker requires jq
  • crun requres jq
  • gvisor requires jq
  • containerd requires docker for manpages
  • runc requires docker for manpages
  • slirp4netns requires docker for manpages
  • ignite requires containerd
  • fuse-overlayfs-snapshotter requires containerd
  • stargz-snapshotter required containerd
  • imgcrypt requires containerd
  • ipfs requires containerd
  • dive requires docker?
  • portainer requires docker?
  • imgcrypt requires docker to install
  • kubectl requires krew
  • jwt requires docker to install
  • docuum requires docker to install
  • kubectl-free requires unzip to install
  • dry requires docker
  • lazydocker requires docker
  • ctop requires docker

Things to check/decide:

  • Do TUIs need local docker or k8s? Yes
  • Are manpages enough to install docker? No
  • Provide manpages via github contrib dir?
nicholasdille added a commit that referenced this issue Jan 27, 2022
nicholasdille added a commit that referenced this issue Jan 27, 2022
nicholasdille added a commit that referenced this issue Jan 27, 2022
nicholasdille added a commit that referenced this issue Jan 27, 2022
nicholasdille added a commit that referenced this issue Jan 27, 2022
nicholasdille added a commit that referenced this issue Jan 27, 2022
nicholasdille added a commit that referenced this issue Jan 27, 2022
nicholasdille added a commit that referenced this issue Jan 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant