File tree 4 files changed +17
-9
lines changed
4 files changed +17
-9
lines changed Original file line number Diff line number Diff line change
1
+ FROM node:12
2
+
3
+ RUN apt-get update && apt-get install -y \
4
+ curl \
5
+ iproute2 \
6
+ vim \
7
+ libgpgme-dev \
8
+ iptables \
9
+ net-tools \
10
+ libsecret-1-dev \
11
+ libx11-dev \
12
+ libxkbfile-dev
13
+
14
+ CMD ["/bin/bash" ]
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ container_name=code-server-dev
10
10
11
11
# Docker build is very verbose even when everything is cached.
12
12
echo " --- Building $container_name "
13
- docker build -t $container_name -f ./ci/dev. Dockerfile . > /dev/null
13
+ cd ../../ && docker build -t $container_name -f ./ci/dev-image/ Dockerfile . > /dev/null
14
14
15
15
set +e
16
16
container_id=$( docker container inspect --format=" {{.Id}}" $container_name 2> /dev/null)
@@ -42,7 +42,7 @@ CMD="$@"
42
42
docker exec \
43
43
$( [[ -t 0 ]] && echo -it || true) \
44
44
$container_id \
45
- sh -c " $CMD "
45
+ bash -c " $CMD "
46
46
47
47
docker exec \
48
48
$( [[ -t 0 ]] && echo -it || true) \
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ yarn watch # Visit http://localhost:8080 once completed.
13
13
To develop inside of an isolated docker container:
14
14
15
15
``` shell
16
- ./m bash -c ' yarn && yarn vscode && yarn watch' # Visit http://localhost:8080 once completed.
16
+ ./ci/dev-image/exec.sh bash -c ' yarn && yarn vscode && yarn watch' # Visit http://localhost:8080 once completed.
17
17
```
18
18
19
19
Any changes made to the source will be live reloaded.
You can’t perform that action at this time.
0 commit comments