softprops / lambda-rust

🐳 🦀 a dockerized lambda build env for rust applications
MIT License
162 stars 76 forks source link

I'm looking for version 1.50.0 #86

Open james-tru opened 3 years ago

james-tru commented 3 years ago

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.

cakekindel commented 3 years ago

master is now at 1.51, @softprops just needs to push a new tag to publish the new image I believe!

cakekindel commented 3 years ago

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'
puttputt commented 3 years ago

@cakekindel thank you so much