website/script/cibuild

18 lines
410 B
Bash
Executable File

#!/bin/sh
# script/cibuild: Setup environment for CI to run tests. This is primarily
# designed to run on the continuous integration server.
#
# Since we don't have CI, this is used to locally build the Docker image for
# manually pushing to Dockerhub
set -e
cd "$(dirname "$0")/.."
script/bootstrap
echo "==> Building image…"
docker build --platform=linux/amd64 -t ianonavy/ianonavy .