Skip to content

Commit a7a4852

Browse files
committed
added solus to compose
1 parent 7a37d6f commit a7a4852

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

.docker/solus.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
services:
2+
solus:
3+
build:
4+
context: solus
5+
image: ghcr.io/carapace-sh/carapace-bin:solus
6+
hostname: carapace-bin:solus
7+
volumes:
8+
- '..:/carapace-bin:ro'

.docker/solus/Dockerfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
FROM silkeh/solus:slim
2+
3+
RUN curl -so - https://dl.elv.sh/linux-amd64/elvish-v0.21.0.tar.gz | tar -xzvC /usr/bin
4+
5+
RUN mkdir -p ~/.config/elvish \
6+
&& echo -e "set paths = [ /carapace-bin/cmd/carapace \$@paths ]\neval (carapace _carapace|slurp)" > ~/.config/elvish/rc.elv
7+
ENV PATH="/carapace-bin/cmd/carapace:$PATH"
8+
9+
CMD ["elvish"]

compose.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ include:
1010
- .docker/gcloud.yaml
1111
- .docker/nix.yaml
1212
- .docker/redhat.yaml
13+
- .docker/solus.yaml
1314
- .docker/ubuntu.yaml
1415
- .docker/xbps.yaml
1516
# issues

0 commit comments

Comments
 (0)