File tree Expand file tree Collapse file tree 6 files changed +17
-18
lines changed Expand file tree Collapse file tree 6 files changed +17
-18
lines changed Original file line number Diff line number Diff line change 29
29
run : docker compose build mdbook shell-*
30
30
31
31
- name : Build shell-* dependent image
32
- run : docker compose build shell
32
+ run : docker compose build dev
33
33
34
- - name : Build shell dependent image
34
+ - name : Build dev dependent image
35
35
run : docker compose build vhs
36
36
37
37
- name : Upload the images
49
49
docker image tag ghcr.io/carapace-sh/shell-tcsh ghcr.io/carapace-sh/shell-tcsh:${tag}
50
50
docker image tag ghcr.io/carapace-sh/shell-xonsh ghcr.io/carapace-sh/shell-xonsh:${tag}
51
51
docker image tag ghcr.io/carapace-sh/shell-zsh ghcr.io/carapace-sh/shell-zsh:${tag}
52
- docker image tag ghcr.io/carapace-sh/shell ghcr.io/carapace-sh/shell :${tag}
52
+ docker image tag ghcr.io/carapace-sh/dev ghcr.io/carapace-sh/dev :${tag}
53
53
docker image tag ghcr.io/carapace-sh/vhs ghcr.io/carapace-sh/vhs:${tag}
54
54
55
55
docker image push ghcr.io/carapace-sh/base:${tag}
63
63
docker image push ghcr.io/carapace-sh/shell-tcsh:${tag}
64
64
docker image push ghcr.io/carapace-sh/shell-xonsh:${tag}
65
65
docker image push ghcr.io/carapace-sh/shell-zsh:${tag}
66
- docker image push ghcr.io/carapace-sh/shell :${tag}
66
+ docker image push ghcr.io/carapace-sh/dev :${tag}
67
67
docker image push ghcr.io/carapace-sh/vhs:${tag}
Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ Build/test containers.
15
15
| [ shell-tcsh] ( ./shell-tcsh/Dockerfile ) | base+[ tcsh] |
16
16
| [ shell-xonsh] ( ./shell-xonsh/Dockerfile ) | base+[ xonsh] |
17
17
| [ shell-zsh] ( ./shell-zsh/Dockerfile ) | base+[ zsh] |
18
- | [ shell ] ( ./shell /Dockerfile ) | base+shell-* |
19
- | [ vhs] ( ./vhs/Dockerfile ) | shell +[ vhs] |
18
+ | [ dev ] ( ./dev /Dockerfile ) | base+[ go ] + shell-* |
19
+ | [ vhs] ( ./vhs/Dockerfile ) | dev +[ vhs] |
20
20
21
21
Additional init file instruction (e.g. ` .bashrc ` ) can be set with:
22
22
@@ -44,4 +44,5 @@ Additional init file instruction (e.g. `.bashrc`) can be set with:
44
44
[ tcsh ] :https://www.tcsh.org/
45
45
[ xonsh ] :https://github.com/xonsh/xonsh
46
46
[ zsh ] :https://www.zsh.org/
47
+ [ go ] :https://go.dev/
47
48
[ vhs ] :https://github.com/charmbracelet/vhs
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- [ -z " $RC_BASH " ] || echo " $RC_BASH " >> ~ /.bashrc
2
+ [ -z " $RC_BASH " ] || echo " $RC_BASH " >> /root /.bashrc
3
3
[ -z " $RC_BASH_BLE " ] || echo " $RC_BASH_BLE " >> /root/.config/bash-ble/blerc
4
4
[ -z " $RC_ELVISH " ] || echo " $RC_ELVISH " >> /root/.config/elvish/rc.elv
5
5
[ -z " $RC_FISH " ] || echo " $RC_FISH " >> /root/.config/fish/config.fish
Original file line number Diff line number Diff line change @@ -5,8 +5,7 @@ services:
5
5
6
6
mdbook :
7
7
build : mdbook
8
- image : ghcr.io/carapace-sh/mdbook
9
-
8
+ image : ghcr.io/carapace-sh/mdbook
10
9
11
10
shell-bash-ble :
12
11
build : shell-bash-ble
@@ -44,9 +43,9 @@ services:
44
43
build : shell-zsh
45
44
image : ghcr.io/carapace-sh/shell-zsh
46
45
47
- shell :
48
- build : shell
49
- image : ghcr.io/carapace-sh/shell
46
+ dev :
47
+ build : dev
48
+ image : ghcr.io/carapace-sh/dev
50
49
51
50
vhs :
52
51
build : vhs
Original file line number Diff line number Diff line change 1
1
FROM ghcr.io/carapace-sh/base
2
2
3
- RUN apt-get update && apt-get install -y fish libicu72 xonsh zsh
3
+ RUN apt-get update && apt-get install -y fish git libicu72 xonsh zsh
4
+
5
+ RUN curl -L https://go.dev/dl/go1.23.4.linux-amd64.tar.gz | tar -C /usr/local -xzf -
6
+ ENV PATH=$PATH:/usr/local/go/bin
4
7
5
8
COPY --from=ghcr.io/carapace-sh/shell-bash-ble /usr/local/bin/bash-ble /usr/local/bin/bash-ble
6
9
COPY --from=ghcr.io/carapace-sh/shell-bash-ble /root/.config/bash-ble /root/.config/bash-ble
Original file line number Diff line number Diff line change 1
- FROM ghcr.io/carapace-sh/shell
1
+ FROM ghcr.io/carapace-sh/dev
2
2
3
3
RUN apt-get update && apt-get install -y chromium ffmpeg fonts-jetbrains-mono
4
4
5
-
6
5
RUN curl -L https://github.com/tsl0922/ttyd/releases/download/1.7.7/ttyd.x86_64 > /usr/local/bin/ttyd \
7
6
&& chmod +x /usr/local/bin/ttyd
8
7
9
- RUN apt-get install -y git
10
- RUN curl -L https://go.dev/dl/go1.23.4.linux-amd64.tar.gz | tar -C /usr/local -xzf -
11
- ENV PATH=$PATH:/usr/local/go/bin
12
8
RUN git clone https://github.com/rsteube/vhs --depth 1 \
13
9
&& cd vhs \
14
10
&& GOBIN=/usr/local/bin/ go install
You can’t perform that action at this time.
0 commit comments