Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions docker/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,24 @@ services:
build:
context: .
dockerfile: Dockerfile
# Note: This temporary step creates a gitconfig to use SSH for a dependency
# that is not yet public. This can be removed once it is public.
command: git config --global url."git@github.com:apple/swift-openapi-runtime".insteadOf "https://github.com/apple/swift-openapi-runtime"
volumes:
- ci-gitconfig:/ci-gitconfig
environment:
- GIT_CONFIG_GLOBAL=/ci-gitconfig/gitconfig

common: &common
image: *image
depends_on: [runtime-setup]
volumes:
- ~/.ssh:/root/.ssh
- ..:/code:z
- ci-gitconfig:/ci-gitconfig
working_dir: /code
environment:
- GIT_CONFIG_GLOBAL=/ci-gitconfig/gitconfig

soundness:
<<: *common
Expand All @@ -35,3 +45,6 @@ services:
shell:
<<: *common
entrypoint: /bin/bash

volumes:
ci-gitconfig: