Skip to content

Commit 38ce929

Browse files
add devfile
1 parent 30f82f6 commit 38ce929

1 file changed

Lines changed: 43 additions & 0 deletions

File tree

devfile.yaml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
schemaVersion: 2.2.0
2+
metadata:
3+
name: rust
4+
displayName: Rust Runtime
5+
description: Rust (version 1.75.x) is an open source programming language empowering everyone to build reliable and efficient software.
6+
icon: https://www.rust-lang.org/static/images/rust-logo-blk.svg
7+
tags:
8+
- Rust
9+
projectType: Rust
10+
language: Rust
11+
provider: fc7
12+
version: 1.0.0
13+
components:
14+
- container:
15+
image: quay.io/devfile/universal-developer-image:ubi9-latest
16+
memoryLimit: 65536Mi
17+
mountSources: true
18+
name: runtime
19+
commands:
20+
- id: install-cargo-edit
21+
exec:
22+
component: runtime
23+
commandLine: 'cargo install cargo-edit'
24+
workingDir: $PROJECTS_ROOT
25+
- id: install-cargo-binstall
26+
exec:
27+
component: runtime
28+
commandLine: 'cargo install cargo-binstall'
29+
workingDir: $PROJECTS_ROOT
30+
- id: install-sccache
31+
exec:
32+
component: runtime
33+
commandLine: 'cargo install sccache'
34+
workingDir: $PROJECTS_ROOT
35+
- id: pre-install
36+
composite:
37+
commands:
38+
- install-cargo-edit
39+
- install-cargo-binstall
40+
- install-sccache
41+
events:
42+
postStart:
43+
- pre-install

0 commit comments

Comments
 (0)