fix entrypoint.sh stage-2
This commit is contained in:
@@ -21,13 +21,14 @@ mkdir -p /run/openrc
|
|||||||
touch /run/openrc/softlevel
|
touch /run/openrc/softlevel
|
||||||
|
|
||||||
# Initialize Easy-RSA if not already present in /app/easy-rsa
|
# Initialize Easy-RSA if not already present in /app/easy-rsa
|
||||||
if [ ! -d /app/easy-rsa ]; then
|
if [ ! -f /app/easy-rsa/easyrsa ]; then
|
||||||
echo "[INIT] Initializing Easy-RSA workspace..."
|
echo "[INIT] Initializing Easy-RSA workspace..."
|
||||||
mkdir -p /app/easy-rsa
|
mkdir -p /app/easy-rsa
|
||||||
# Alpine installs easy-rsa files to /usr/share/easy-rsa
|
# Alpine installs easy-rsa files to /usr/share/easy-rsa
|
||||||
cp -r /usr/share/easy-rsa/* /app/easy-rsa/
|
cp -r /usr/share/easy-rsa/* /app/easy-rsa/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
# Start the APP_PROFILER API
|
# Start the APP_PROFILER API
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user