Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README to reflect current local testing and building considerations #80

Merged
merged 3 commits into from
Feb 15, 2021
Merged
Changes from 1 commit
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
Prev Previous commit
Minor fixes.
IamfromSpace committed Feb 15, 2021
commit a4c5ff5fa7b819225de4801e0e068cee46a7f707
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -112,15 +112,15 @@ executables:

You'll need to either build on a compatible linux host or inside a compatible docker container (or some other mechanism like nix).
Note that current Stack LTS images are _not_ compatible.
If you see an error message that contains "version `GLIBC_X.XX' not found" when running (hosted or locally), then your build environment is not compatible.
If you see an error message that contains "version 'GLIBC_X.XX' not found" when running (hosted or locally), then your build environment is not compatible.

Enable stack's docker integration and define an optional image within stack.yaml:

```yaml
# file: stack.yaml
docker:
enabled: true
# If omitted, this defaults to fpco/stack-build:lts-${YOUR_LTS_VERSIO}
# If omitted, this defaults to fpco/stack-build:lts-${YOUR_LTS_VERSION}
image: ${BUILD_IMAGE}
```

@@ -197,7 +197,7 @@ echo '{ "accountId": "byebye" }' | docker run -i --rm \

### Execute w/ SAM Local

Note that [aws-sam-cli] is currently only supported until <1.0.
Note that hal currently only supports [aws-sam-cli] on versions <1.0.

```bash
echo '{ "accountId": "byebye" }' | sam local invoke --region us-east-1