mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-01-27 02:20:01 +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 <zhjwpku@gmail.com>
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 --install -s \
|
||||
&& /bin/busybox sh -c "find $save_dirs -type d -depth -exec rmdir -p {} \; 2> /dev/null"; \
|
||||
else \
|
||||
/bin/busybox --install -s; \
|
||||
fi
|
||||
|
||||
FROM scratch
|
||||
|
||||
Reference in New Issue
Block a user