Repository navigation
Replies: 1 comment
|
There's no version baked in. It's built with -buildvcs=false and -s -w and there's no --version flag, so Easiest is matching the hash against the release asset digests: sha256sum /usr/local/bin/aws-lambda-rie
curl -s "https://api.github.com/repos/aws/aws-lambda-runtime-interface-emulator/releases?per_page=100" \
| jq -r '.[] | .tag_name as $t | .assets[] | "\(.digest) \($t) \(.name)"' \
| grep <your-sha256>No match probably means it wasn't from a GitHub release (the copies in AWS base images may be built separately). Adding |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Is there any way to determine the version of a binary present in an image? I looked at the code and available command line switches but did not find anything.
I also don't find the version anywhere in the code. With some pointers I might be able to "contribute" a log line in debug level on startup that displays the current version. Any ideas on this?
All reactions