Robin Schneider
446fc3f1f8
Set build time options for dpkg and reproducible builds
...
Ref: https://github.com/moby/moby/issues/4032
Ref: https://sweetcode.io/using-docker-reproducible-build-environments/
Ref: https://github.com/hashbang/aosp-build/blob/master/config/container/Dockerfile
5 years ago
Robin Schneider
146525db91
Improve Jinja2 template logic a bit
5 years ago
Robin Schneider
1698b43f9b
Readd missing cargo setup for armv7. Thanks to @dani-garcia!
5 years ago
Robin Schneider
078b21db85
Fix armv6 build, thanks to @dani-garcia for the review!
5 years ago
Robin Schneider
43adcde094
Move `rustup target` before `cargo build`. Thanks to @dani-garcia!
...
Note from @dani-garcia:
> I don't think this is doing anything right now because the target is probably
> installed already.
5 years ago
Daniel García
7a0bb18dcf
Make `cargo new` independent of workdir to be exact
...
The muslrust images seem to have a workdir of /volume as opposed to / in the
others so doing cargo new like this would create the folder in /volume/app.
5 years ago
Robin Schneider
47a5a4e1fc
Fix package name for Ubuntu 16.04 based image. Thanks @dani-garcia!
5 years ago
Robin Schneider
0f0e5876ae
Move `dpkg --add-architecture` before the first apt call
...
Thanks to @dani-garcia for the review!
5 years ago
Robin Schneider
43aa75dc89
Fix cross platform build support, thanks to @dani-garcia for the review
5 years ago
Robin Schneider
8280d200ea
Generate Dockerfiles from one source for maintainability. Closes #785 .
5 years ago