Comments (11)
docker-buildpack/src/rust/build/rust.sh
Lines 6 to 7 in 3fd24b3
- Shall we set permissions?
- Does the second one need to be
export_env
as well?
from docker-buildpack.
❯ docker run --rm renovate/rust ls -l /usr/local/
total 44
drwxr-xr-x 1 root root 4096 Jun 3 07:50 bin
drwxr-xr-x 1 root root 4096 Jun 3 07:50 build
drwxr-xr-x 3 root root 4096 Jun 3 11:39 cargo
drwxr-xr-x 1 root root 4096 Jun 3 11:39 etc
drwxr-xr-x 2 root root 4096 Apr 3 17:12 games
drwxr-xr-x 2 root root 4096 Apr 3 17:12 include
drwxr-xr-x 2 root root 4096 Apr 3 17:12 lib
lrwxrwxrwx 1 root root 9 Apr 3 17:12 man -> share/man
drwxr-xr-x 6 root root 4096 Jun 3 11:39 rust
drwxr-xr-x 2 root root 4096 Apr 3 17:13 sbin
drwxr-xr-x 1 root root 4096 Apr 30 13:39 share
drwxr-xr-x 2 root root 4096 Apr 3 17:12 src
from docker-buildpack.
I don't export CARGO_HOME
, so it falls back to ~/.cargo
from docker-buildpack.
Worth trying to install without sudo? http://blog.muhuk.com/2017/11/07/how_to_install_rust_on_debian_without_sudo.html
from docker-buildpack.
Worth trying to install without sudo? http://blog.muhuk.com/2017/11/07/how_to_install_rust_on_debian_without_sudo.html
404 for me
from docker-buildpack.
Weird - definitely 200 ok for me
from docker-buildpack.
We'd do something like this: rustup.sh --disable-sudo --prefix=/home/ubuntu/.rust
(as ubuntu) and then add /home/ubuntu/.rust/bin/
to $PATH
from docker-buildpack.
i know, this would install all rust to user home, investigating why cargo wants to write to global rust instead of local cargo folder
from docker-buildpack.
Seems to be a rustup
thing
from docker-buildpack.
Installing as ubuntu
would seem to be most forwards-compatible
from docker-buildpack.
yes, https://github.com/renovate-tests/tikv/blob/master/rust-toolchain uses a nightly rust version, so the rustup proxies try to dynamically download the tool chain 🤔
from docker-buildpack.
Related Issues (20)
- Combine renovate/ubuntu into this repository
- Env is sourced two times HOT 2
- Allow installing tools as non root where possible HOT 2
- Test docker 19 and 20 HOT 1
- permission error when running poetry HOT 2
- Support custom certs handling HOT 7
- Add global tool wrapper HOT 6
- Deprecation notice
- Defer git updates
- upgrade to the latest ubuntu LTS release HOT 2
- Archive repo
- Add dotnet HOT 6
- Add helm
- Trim v prefix from version HOT 1
- Migrate to ubuntu focal
- Add powershell
- Add nix HOT 2
- Add scoop HOT 6
- Merge test and release job HOT 1
- make pyenv available in Docker HOT 50
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 docker-buildpack.