Skip to content

Commit 226fb20

Browse files
committed
chore: cleanup
1 parent a35356c commit 226fb20

File tree

2 files changed

+5
-22
lines changed

2 files changed

+5
-22
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Tesseract OCR Lambda Layer
2222
- [available `Dockerfile`s](#available-dockerfiles)
2323
- [Building a different tesseract version and/or language](#building-a-different-tesseract-version-andor-language)
2424
- [Deployment size optimization](#deployment-size-optimization)
25-
- [Building directly using CDK](#building-directly-using-cdk)
25+
- [Building the layer binaries directly using CDK](#building-the-layer-binaries-directly-using-cdk)
2626
- [Layer contents](#layer-contents)
2727
- [Known Issues](#known-issues)
2828
- [Avoiding Pillow library issues](#avoiding-pillow-library-issues)
@@ -182,10 +182,11 @@ RUN ... \
182182

183183
The stripping can cause issues, when the build runtime and the lambda runtime are different (e.g. if building on Amazon Linux 1 and running on Amazon Linux 2).
184184

185-
## Building directly using CDK
185+
## Building the layer binaries directly using CDK
186186

187-
You can build the layer directly, when using AWS CDK, using the [`bundling` option](https://aws.amazon.com/blogs/devops/building-apps-with-aws-cdk/).
188-
See [`continous-integration/index.ts`](continous-integration/index.ts) and the [corresponding Github Workflow](https://github.com/bweigel/aws-lambda-tesseract-layer/actions?query=workflow%3A%22Continuos+Integration%22) for an example.
187+
You can build the layer directly and get the artifacts (like in [ready-to-use](./ready-to-use/)). This is done using AWS CDK with the [`bundling` option](https://aws.amazon.com/blogs/devops/building-apps-with-aws-cdk/).
188+
189+
Refer to [continous-integration](./continous-integration/README.md) and the [corresponding Github Workflow](https://github.com/bweigel/aws-lambda-tesseract-layer/actions?query=workflow%3A%22Continuos+Integration%22) for an example.
189190

190191
## Layer contents
191192

build.sh

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)