Skip to content

Commit

Permalink
Merge pull request #2652 from carapace-sh/docker-compose-include
Browse files Browse the repository at this point in the history
use `include` for docker-compose
  • Loading branch information
rsteube authored Dec 22, 2024
2 parents 100073e + 5323dad commit f8572f9
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 10 deletions.
7 changes: 7 additions & 0 deletions .docker/bloop.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
services:
bloop:
build:
context: bloop
image: ghcr.io/carapace-sh/carapace-bin:bloop
volumes:
- '..:/carapace-bin:ro'
File renamed without changes.
7 changes: 7 additions & 0 deletions .docker/nix.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
services:
nix:
build:
context: nix
image: ghcr.io/carapace-sh/carapace-bin:nix
volumes:
- '..:/carapace-bin:ro'
File renamed without changes.
13 changes: 3 additions & 10 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3'

services:
build: &base
image: ghcr.io/carapace-sh/carapace
Expand Down Expand Up @@ -79,14 +77,9 @@ services:
# user: 1000:1000
command: bash -c 'go run ./cmd/carafmt completers/*/cmd/*.go'

nix:
build:
context: .docker
dockerfile: nix.Dockerfile
image: nixos/nix
volumes:
- '.:/carapace-bin:ro'

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

volumes:
go:

0 comments on commit f8572f9

Please sign in to comment.