Skip to content

Commit

Permalink
Merge pull request #2653 from carapace-sh/compose-mv
Browse files Browse the repository at this point in the history
moved core compose services
  • Loading branch information
rsteube authored Dec 22, 2024
2 parents f07b9bb + 017f5c7 commit f3e82fe
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
1 change: 1 addition & 0 deletions .docker/bloop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ services:
build:
context: bloop
image: ghcr.io/carapace-sh/carapace-bin:bloop
hostname: carapace-bin:bloop
volumes:
- '..:/carapace-bin:ro'
2 changes: 1 addition & 1 deletion .docker/bloop/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ RUN cs install bloop --only-prebuilt=true

ENV PATH="$PATH:/root/.local/share/coursier/bin"
RUN bloop
ENTRYPOINT [ "bash" ]
ENTRYPOINT [ "elvish" ]
6 changes: 1 addition & 5 deletions docker-compose.yml → .docker/carapace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
CARAPACE_BRIDGES: zsh,fish,bash
TARGET: /carapace-bin/cmd/carapace/carapace
volumes:
- '.:/carapace-bin/'
- '..:/carapace-bin/'
- 'go:/home/circleci/go/'

bash:
Expand Down Expand Up @@ -77,9 +77,5 @@ services:
# user: 1000:1000
command: bash -c 'go run ./cmd/carafmt completers/*/cmd/*.go'

include:
- .docker/bloop.yaml
- .docker/nix.yaml

volumes:
go:
1 change: 1 addition & 0 deletions .docker/nix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ services:
build:
context: nix
image: ghcr.io/carapace-sh/carapace-bin:nix
hostname: carapace-bin:nix
volumes:
- '..:/carapace-bin:ro'
6 changes: 6 additions & 0 deletions compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
include:
# shells and build related services
- .docker/carapace.yaml
# tools
- .docker/bloop.yaml
- .docker/nix.yaml

0 comments on commit f3e82fe

Please sign in to comment.