-
Notifications
You must be signed in to change notification settings - Fork 295
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Disable pushing/pulling for layer caching in build. (#2517)
* There is little gain to pushing and pulling previously built images to leverage the layer cache, so don't. * If we want to avoid reinstalling compilers etc we should create better base images (later) * Docs doesn't need to build yarn-project anymore as base image already builds it. * Use query_manifest dependencies to determine dependents to pull and tag, rather than sedding Dockerfile. --------- Co-authored-by: ludamad <[email protected]>
- Loading branch information
1 parent
f8b6548
commit 51352ae
Showing
7 changed files
with
36 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
FROM 278380418400.dkr.ecr.eu-west-2.amazonaws.com/yarn-project AS builder | ||
FROM 278380418400.dkr.ecr.eu-west-2.amazonaws.com/yarn-project | ||
WORKDIR /usr/src | ||
COPY . . | ||
WORKDIR /usr/src/yarn-project | ||
RUN yarn build | ||
WORKDIR /usr/src/docs | ||
RUN yarn && yarn build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# The build context for docs is the root of the repository. | ||
# Be very specific about what we include. | ||
* | ||
|
||
!docs | ||
!l1-contracts/src | ||
!l1-contracts/test | ||
!barretenberg/cpp/src/barretenberg | ||
!circuits/cpp/src | ||
!.release-please-manifest.json |