Closed manfioLP closed 2 months ago
for people coming to this because of expired Docker Image used by serverless-offilne:
serverless-offline is currently using lambci images for Docker which were abandoned a long while ago and haven't been updated in years.
I found this very detailed description detailed description of what needs to be done kudos to @davidjb
seems like this repo is stale and getting deprecated if you're not using nodejs, so for python/golang devs, it will be quite of a pain to develop locally since it simply doesn't run :(
I'm considering the move to SAM
This is also a problem for java devs 😢
@manfioLP @Kirynn This should now be fixed. I just merged a PR that solves this issue - #1755
Bug Report
Current Behavior
When running
node ./node_modules/.bin/serverless offline start --config serverless.dev.yml --useDocker --host 0.0.0.0
I'm Getting this:Looks like
lambci/lambda:go1.x
is expired (looking from other Issues seems that python is too ref: #1750 )Sample Code
Any file with:
would do.
Expected behavior/code
To lambda run on container env without throwing expired error
Environment
serverless
version: [3]serverless-offline
version: [13.3.0]golang
version: runtime[1.x]OS
: [macOS Sonoma]