Skip to content

Commit

Permalink
Merge pull request #2671 from carapace-sh/compose-xbps
Browse files Browse the repository at this point in the history
compose: added xbps
  • Loading branch information
rsteube authored Jan 1, 2025
2 parents 0cd5007 + 793f003 commit b08a3f2
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .docker/xbps.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
services:
xbps:
build:
context: xbps
image: ghcr.io/carapace-sh/carapace-bin:xbps
hostname: carapace-bin:xbps
volumes:
- '..:/carapace-bin:ro'
9 changes: 9 additions & 0 deletions .docker/xbps/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM ghcr.io/void-linux/void-glibc

RUN xbps-install -Sy elvish

RUN mkdir -p ~/.config/elvish \
&& echo "set paths = [ /carapace-bin/cmd/carapace \$@paths ]\neval (carapace _carapace|slurp)" > ~/.config/elvish/rc.elv
ENV PATH="/carapace-bin/cmd/carapace:$PATH"

CMD ["elvish"]
1 change: 1 addition & 0 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ include:
- .docker/fzf-tab.yaml
- .docker/gcloud.yaml
- .docker/nix.yaml
- .docker/xbps.yaml

0 comments on commit b08a3f2

Please sign in to comment.