This is especially important for distributions like NixOS where `/bin/bash` doesn't exist, or for MacOS users who've installed a newer version of Bash than the one that comes with their OS. Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com> Upstream-commit: 52379fa76dee07ca038624d639d9e14f4fb719ff Component: engine
8 lines
130 B
Bash
8 lines
130 B
Bash
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
bundle .detect-daemon-osarch
|
|
if [ $DOCKER_ENGINE_GOOS != "windows" ]; then
|
|
bundle .ensure-emptyfs
|
|
fi
|