nanovms / ops

ops - build and run nanos unikernels
https://ops.city
MIT License
1.27k stars 132 forks source link

pkg(from-docker): extract fixes/optimization #1402

Closed rinor closed 1 year ago

rinor commented 1 year ago

original shell script behaves differently in different shells (bash, dash, zsh, ksh - tested).

bash|dash|zsh|ksh extract_from_docker.sh ./keydb-6.3.1 | wc -l
shell old new
bash 337 41
dash 337 41
zsh 1512 41
ksh 41 41

Note: you can use the following command to compare versions

ops pkg from-docker eqalpha/keydb:x86_64_v6.3.1 -f keydb-server --verbose -n keydb-6.3.1