mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-25 02:04:06 +02:00
fix
This commit is contained in:
parent
ddb9307873
commit
f3ec6fd910
2
ghost/arm/docker-entrypoint.sh
Normal file → Executable file
2
ghost/arm/docker-entrypoint.sh
Normal file → Executable file
@ -6,7 +6,7 @@ if [[ "$*" == npm*start* ]]; then
|
|||||||
targetDir="$GHOST_CONTENT/$(basename "$dir")"
|
targetDir="$GHOST_CONTENT/$(basename "$dir")"
|
||||||
mkdir -p "$targetDir"
|
mkdir -p "$targetDir"
|
||||||
if [ -z "$(ls -A "$targetDir")" ]; then
|
if [ -z "$(ls -A "$targetDir")" ]; then
|
||||||
tar -c --one-file-system -C "$dir" . | tar xC "$targetDir"
|
tar cC "$dir" . | tar xC "$targetDir"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user