Skip to content

Bug: Installer does not check for find command #1459

@bambuchaAdm

Description

@bambuchaAdm

Bug report
During installation sdkman checks for few tools that are required to correct work. In my case it catch lack of zip and unzip, but did not report absens of find command. It would be nice if installer also check for find when internally it used. This is specially worth in very stripped systems.

To reproduce
Run shell in slim linux container using docker/podman

podman run -it docker.io/oraclelinux:8-slim

in shell

microdnf update
microdnf install unzip zip
curl -s "https://get.sdkman.io?ci=true" | bash
source "/root/.sdkman/bin/sdkman-init.sh"

Last command give output

bash: find: command not found
bash: __sdkman_echo_debug: command not found
bash: __sdkman_echo_debug: command not found

Workaround

Installation of findutils in system solves problems

microdnf install findutils

System info

  • OS - Oracle Linux Server release 8.10
  • ImageID: 93f0c63e851885be509c5d83090d65ee4716b23ba7b9667a67a0866aa2546a98
  • Shell and version - GNU bash, version 4.4.20(1)-release (x86_64-redhat-linux-gnu)
  • The output of sdk version - does not work without workaround
SDKMAN!
script: 5.19.0
native: 0.7.4 (linux x86_64)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions