Skip to content

Commit

Permalink
Refactor: Made the process of obtaining the image list for each distr…
Browse files Browse the repository at this point in the history
…o dynamic
  • Loading branch information
ysdragon committed Aug 31, 2024
1 parent e6a982c commit 3b15782
Show file tree
Hide file tree
Showing 3 changed files with 186 additions and 321 deletions.
7 changes: 7 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash

sleep 2
export HOME=/home/container
cd /home/container
Expand All @@ -7,5 +8,11 @@ MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g'
# Make internal Docker IP address available to processes.
export INTERNAL_IP=`ip route get 1 | awk '{print $NF;exit}'`

# Copy run.sh to /home/container
cp /run.sh "$HOME/run.sh"

# Make run.sh executable.
chmod +x "$HOME/run.sh"

# Run the VPS Installer
bash /install.sh
Loading

0 comments on commit 3b15782

Please sign in to comment.