Comments (3)
There is no way to do it in this image. These steps have to be done by the project building on top of the base image.
Note that you can further reduce the size by using debian:stretch
instead of rust
for the second stage.
from docker-rust.
Maybe just linking to the guide I posted in the docker readme, since cargo doesn't yet have a --build-dependencies
option.
from docker-rust.
If you have specific suggestions on changes to the Dockerfiles, I'd be interested in hearing them, but "make caching work" is not really actionable.
from docker-rust.
Related Issues (20)
- rustc fails on 1.72.0-bookworm HOT 2
- Docker hub page update for debian:bookworm
- Builds randomly fail on Apple silicon using bind mounts with VirtioFS enabled HOT 5
- Update dockerhub page to use modern versions
- Remove $RUSTUP_HOME/share in Docker images HOT 4
- Latest Alpine images break SQL CLI build HOT 7
- When is the image rebuilt? HOT 1
- i386/rust:1.75.0 fails on Gitlab CI HOT 3
- [ FIXED ] Cannot build Rust App Docker Image because of: spurious network error ... HOT 8
- Add tags for nightly images HOT 4
- Nightly images are inaccessible HOT 1
- Missing apt sources HOT 5
- Missing apt sources HOT 3
- Docker Hub rust:alpine image fails to read crates.io with various "spurious network errors" HOT 2
- Alpine images has no layers built HOT 2
- Add user-friendly tags for Debian variants
- Missing tags for `1.77.1` images HOT 1
- 1.77.1 apt-get update fails with NO_PUBKEY
- Add s390x docker image support
- Add rpm based image
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-rust.