Comments (3)
This has been on my mind but has been a lower priority because most of the lambda work I do depends on a reliable build environment.
Nightly rust is expressly not committed to being a stable environment to build on. That said, I'm empathetic to those that also just want to experiment with features that aren't yet complete. I'll keep this issue as a reminder of that since I don't already have an issue up for rust.
from serverless-rust.
Fair enough. I've managed to factor some things out into separate crates now meaning nightly is no longer required, so no problem!
For anyone finding this on Google in the meantime, it's fairly simple to fork this repo and clone it to the '.serverless-plugins' directory of your project and change the Docker image/tag in index.js; I also forked/cloned your lambda-rust project to use nightly in the Dockerfile. (The same process can be used for any required static libraries, e.g. libpq).
from serverless-rust.
You can actually just declare the docker tag in serverless.yml https://github.com/softprops/serverless-rust/blob/master/README.md#%EF%B8%8F-customize
from serverless-rust.
Related Issues (20)
- MacOs dockerless: fork/exec /var/task/bootstrap: permission denied HOT 2
- Custom variables not expanding HOT 1
- Is this project still being developed?
- Release new NPM package version HOT 5
- File permissions in local build (macOS) HOT 2
- as_slice Error
- What's the differences between this and `cargo-lambda`? HOT 1
- Plugin creates a lot of files with root owner
- Support the Lambda ARM target HOT 3
- Error: Couldn't find valid bootstrap(s): [/var/task/bootstrap /opt/bootstrap] Runtime.InvalidEntrypoint
- Support CI/CD Pipelines using Artifacts
- 📣 PSA for AWS Lambda: Easy Switch to `cargo lambda` 📈 HOT 1
- Where should I add "dockerless: true" HOT 1
- Support sccache
- Local invokes with dockerless: true fail with permission error
- Musl issue with Diesel HOT 1
- Use Cross for docker builds HOT 1
- Latest npm release inconsistent with latest docker image
- Error: fork/exec /var/task/bootstrap: no such file or directory
- lambda-rust docker image based of al2 whereas the plugin BASE_RUNTIME is al HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from serverless-rust.