2021-08-25 16:16:49 +01:00
|
|
|
#!/bin/sh
|
2021-08-26 18:22:41 +01:00
|
|
|
#
|
|
|
|
# This script runs as the top level of our reproducible build process.
|
|
|
|
# It launches the actual build script inside a docker container.
|
|
|
|
|
2021-08-26 07:30:05 +01:00
|
|
|
## use a fixed image to not suffer from image retaging when newer rustc or
|
|
|
|
## alpine emerges. Increase shm size for the reasons described in
|
|
|
|
## reproducible_build.sh
|
|
|
|
exec docker run --rm -i -v "$(git rev-parse --show-toplevel)":/builds/arti \
|
|
|
|
-w /builds/arti --shm-size=512m rust:1.54.0-alpine3.14 \
|
2021-09-19 20:38:07 +01:00
|
|
|
./maint/reproducible_build.sh "$@"
|