Open james-tru opened 3 years ago
master is now at 1.51, @softprops just needs to push a new tag to publish the new image I believe!
I know it's been a while since you opened this issue but you can get around this for local development by cloning the repo and doing:
> docker build
# lots of output, assume went OK
> docker image list
REPOSITORY TAG IMAGE ID CREATED SIZE
<none> <none> <IMAGE ID> 3 minutes ago 2.28GB
lambci/lambda provided c33a39474d91 2 months ago 701MB
sls-docker-provided latest c33a39474d91 2 months ago 701MB
lambci/lambda build-provided.al2 79af384846a7 2 months ago 1.57GB
softprops/lambda-rust 0.2.7-rust-1.43.1 4fa341bf5218 10 months ago 2.49GB
# copy <IMAGE ID> for the image you just built, in my case `9e8c78b4e171`, then:
> docker tag <IMAGE ID> james-tru/lambda-rust:1.3.0-rust-1.51.0
# no output if OK
finally, if you're using softprops/serverless-rust, update serverless.yaml
with:
custom:
rust:
dockerImage: 'james-tru/lambda-rust'
dockerTag: '0.3.0-rust-1.51.0'
@cakekindel thank you so much
1.50.0 is a pretty significant update and, crucially, will enable Rocket to be built with stable.
I tried this locally and it seems to work ok.