Comments (1)
I think it would make sense to add a LaunchEnvironment variable on the Cargo layer.
To add one, it needs to add it to the LaunchEnvironment
on the Layer object, see docs. Because we want to set $PATH
, it should be set to append.
Then add a test to confirm it's been set. It's a little more involved, but here's an example test which validates env variables are set.
from cargo.
Related Issues (20)
- Condense build and detect into one executable
- Investigate if caching actually helps & how much HOT 2
- Cache CARGO_HOME HOT 3
- Document buildpack configuration in buildpack.toml
- Validate env used to run Cargo HOT 1
- Explore automatically detecting a command to execute
- Do not allow the `target/` directory to end up in the launch image
- Detect fails with an error if no Cargo.lock or Cargo.toml HOT 4
- Add BOM Support HOT 5
- Add default target for Tiny stack
- Cross compilation HOT 3
- Missing label io.buildpacks.builder.metadata HOT 1
- Should `--locked` be a default argument for the cargo build pack? HOT 3
- Support `cargo build` HOT 4
- Buildpack attempts to build lib members in a workspace HOT 2
- kn func 1.9.0 fails to build a Rust Service HOT 3
- Support for Jammy Tiny Stack HOT 1
- Add support for `upx`
- Build fails with Rust 1.77.0+
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 cargo.