sessions-with-aws-sam icon indicating copy to clipboard operation
sessions-with-aws-sam copied to clipboard

Fix serverless go example

Open tomplus opened this issue 5 months ago • 0 comments

Fixes issue #4

and also an error which I faced trying to start it locally.

/var/task/bootstrap: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /var/task/bootstrap)

Description of changes:

I've added a step to call go init module to create go.mod required in following steps. I've also added CGO_ENABLED=0 flag to build staticaly-linked app. Alternatively I can add it to the troubleshooting section in the readme file instead.

Thanks!

tomplus avatar Jan 08 '24 20:01 tomplus