8000 initial dotfiles clone · coder/deploy-code-server@3e65b04 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3e65b04

Browse files
committed
initial dotfiles clone
1 parent 7475972 commit 3e65b04

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

deploy-container/entrypoint.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,13 @@ else
7676

7777
fi
7878

79+
# Add dotfiles, if set
80+
if [ -z "$DOTFILES_REPO" ]; then
81+
# grab the files from the remote instead of running project_init()
82+
echo "[$PREFIX] Cloning dotfiles..."
83+
git clone $GIT_REPO $START_DIR/dotfiles
84+
fi
85+
7986
echo "[$PREFIX] Starting code-server..."
8087
# Now we can run code-server with the default entrypoint
8188
/usr/bin/entrypoint.sh --bind-addr 0.0.0.0:8080 $START_DIR

0 commit comments

Comments
 (0)
0