Skip to content

Commit

Permalink
compose: added xbps
Browse files Browse the repository at this point in the history
  • Loading branch information
rsteube committed Jan 1, 2025
1 parent acb787a commit 793f003
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 @@ -6,3 +6,4 @@ include:
- .docker/fzf-tab.yaml
- .docker/gcloud.yaml
- .docker/nix.yaml
- .docker/xbps.yaml

0 comments on commit 793f003

Please sign in to comment.