File size: 394 Bytes
700a3cf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

cd /workspace

# Get the files into the volume without a bind mount
if [ ! -d ".git" ]; then
    git clone https://github.com/mudler/LocalAI.git .
else
    git fetch
fi

echo "Standard Post-Create script completed."

if [ -f "/devcontainer-customization/postcreate.sh" ]; then
    echo "Launching customization postcreate.sh"
    bash "/devcontainer-customization/postcreate.sh"
fi