File tree 2 files changed +14
-3
lines changed
2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change 1
1
# dogfood template
2
2
3
+ Ammar is this template's admin.
4
+
5
+ This template runs the ` gcr.io/coder-dogfood/master/coder-dev-ubuntu ` Docker
6
+ image in a ` sysbox-runc ` container.
7
+
8
+ ## Personalization
9
+
10
+ The startup script runs your ` ~/personalize ` file if it exists.
11
+
3
12
## How is this hosted?
4
13
5
14
Coder dogfoods on a beefy, single Teraswitch machine. We decided to use
6
15
a bare metal provider for best-in-class cost-to-performance. We decided to
7
- use a single machine for crazy fast parallelized builds.
16
+ use a single machine for crazy fast parallelized builds and tests .
8
17
9
18
# How is the provisioner configured?
10
19
11
20
Our dogfood VM runs an SSH tunnel to our dogfood Docker host's docker socket.
12
21
The socket is mounted on ` /var/run/dogfood-docker.sock ` .
13
22
14
23
The SSH command can be found hanging out in the screen session named
15
- ` docker-dogfood-tunnel ` .
24
+ ` forward ` .
16
25
17
26
The tunnel and corresponding SSH key is under the root user.
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ terraform {
6
6
}
7
7
docker = {
8
8
source = " kreuzwerker/docker"
9
- version = " ~> 2.16 .0"
9
+ version = " ~> 2.18 .0"
10
10
}
11
11
}
12
12
}
@@ -31,6 +31,8 @@ resource "coder_agent" "dev" {
31
31
# install and start code-server
32
32
curl -fsSL https://code-server.dev/install.sh | sh
33
33
code-server --auth none --port 13337
34
+ sudo service docker start
35
+ if [ -f ~/personalize ]; then ~/personalize 2>&1 | tee ~/.personalize.log; fi
34
36
EOF
35
37
}
36
38
You can’t perform that action at this time.
0 commit comments