Browse Source

Add helpful extraction method

pull/1/head
Luke Childs 5 years ago
parent
commit
d0e67f0813
  1. 2
      entrypoint.sh

2
entrypoint.sh

@ -4,6 +4,8 @@ image_path="/data/filesystem.img"
zip_path="/filesystem.zip"
if [ ! -e $image_path ] && [ -e $zip_path ]; then
echo "No filesystem detected at ${image_path}!"
echo "Extracting..."
unzip $zip_path
mv *.img $image_path
fi

Loading…
Cancel
Save