Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28754a7 commit 0178bfeCopy full SHA for 0178bfe
examples/templates/docker/main.tf
@@ -28,6 +28,12 @@ resource "coder_agent" "main" {
28
startup_script = <<-EOT
29
set -e
30
31
+ # Prepare user home with default files on first start.
32
+ if [ ! -f ~/.init_done ]; then
33
+ cp -rT /etc/skel ~
34
+ touch ~/.init_done
35
+ fi
36
+
37
# install and start code-server
38
curl -fsSL https://code-server.dev/install.sh | sh -s -- --method=standalone --prefix=/tmp/code-server --version 4.19.1
39
/tmp/code-server/bin/code-server --auth none --port 13337 >/tmp/code-server.log 2>&1 &
0 commit comments