Add script to build Docker image.

change-name
Robert Jacob 5 years ago
parent 808d9d2cd8
commit 803f5aaa8b
  1. 10
      build-image.sh

@ -0,0 +1,10 @@
#!/usr/bin/env bash
set -e -u -o pipefail
readonly REPO=spaceapi-server
TAG=$(git rev-parse --short HEAD)
readonly TAG
readonly IMAGE="${REPO}:${TAG}"
docker build -t "${IMAGE}" .
Loading…
Cancel
Save