Skip to content

Commit

Permalink
Use delegated docker mount option to speedup builds (#9441)
Browse files Browse the repository at this point in the history
Motivation:

As we use the docker files for the CI we should use the delegated mount option to speed up builds.

See https://docs.docker.com/docker-for-mac/osxfs-caching/#delegated

Modifications:

Use delegated mount option

Result:

Faster builds when using docker
  • Loading branch information
normanmaurer committed Aug 13, 2019
1 parent 16e2907 commit 2f0c001
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docker/docker-compose.yaml
Expand Up @@ -12,9 +12,9 @@ services:
image: netty:default
depends_on: [runtime-setup]
volumes:
- ~/.ssh:/root/.ssh
- ~/.gnupg:/root/.gnupg
- ..:/code
- ~/.ssh:/root/.ssh:delegated
- ~/.gnupg:/root/.gnupg:delegated
- ..:/code:delegated
working_dir: /code

test-leak:
Expand All @@ -35,8 +35,8 @@ services:
- SANOTYPE_USER
- SANOTYPE_PASSWORD
volumes:
- ~/.ssh:/root/.ssh
- ~/.gnupg:/root/.gnupg
- ..:/code
- ~/.m2:/root/.m2
- ~/.ssh:/root/.ssh:delegated
- ~/.gnupg:/root/.gnupg:delegated
- ..:/code:delegated
- ~/.m2:/root/.m2:delegated
entrypoint: /bin/bash

0 comments on commit 2f0c001

Please sign in to comment.