2019-04-18 13:44:12 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# Abort if anything goes wrong.
|
|
|
|
set -euo pipefail
|
|
|
|
|
|
|
|
# Make sure we can build some of our more important test images.
|
2020-09-03 20:18:59 +00:00
|
|
|
for EXAMPLE in using-diesel using-sqlx; do
|
2019-04-27 12:51:12 +00:00
|
|
|
docker build \
|
|
|
|
--build-arg BASE_IMAGE="$IMAGE_NAME" \
|
|
|
|
-t rust-musl-builder-"$EXAMPLE" \
|
|
|
|
examples/"$EXAMPLE"
|
2019-04-18 13:44:12 +00:00
|
|
|
done
|