mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-08-25 14:53:37 +00:00
add missing busybox install command (#3029)
before this patch, when execute `ps` inside container, we see the following error: postgres@a97c9e438eae:~$ ps bash: ps: command not found Signed-off-by: Zhao Junwang <[email protected]>
This commit is contained in:
@@ -125,6 +125,8 @@ RUN if [ "$COMPRESS" = "true" ]; then \
|
|||||||
&& /bin/busybox sh -c "(find $save_dirs -not -type d && cat /exclude /exclude && echo exclude) | sort | uniq -u | xargs /bin/busybox rm" \
|
&& /bin/busybox sh -c "(find $save_dirs -not -type d && cat /exclude /exclude && echo exclude) | sort | uniq -u | xargs /bin/busybox rm" \
|
||||||
&& /bin/busybox --install -s \
|
&& /bin/busybox --install -s \
|
||||||
&& /bin/busybox sh -c "find $save_dirs -type d -depth -exec rmdir -p {} \; 2> /dev/null"; \
|
&& /bin/busybox sh -c "find $save_dirs -type d -depth -exec rmdir -p {} \; 2> /dev/null"; \
|
||||||
|
else \
|
||||||
|
/bin/busybox --install -s; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
FROM scratch
|
FROM scratch
|
||||||
|
|||||||
Reference in New Issue
Block a user