12 lines
482 B
Bash
Executable File
12 lines
482 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# This script runs as the top level of our reproducible build process.
|
|
# It launches the actual build script inside a docker container.
|
|
|
|
## 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
|
|
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 \
|
|
./maint/reproducible_build "$@"
|