You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
326 B
14 lines
326 B
#!/usr/bin/env bash
|
|
set -o errexit
|
|
|
|
# Set the image name
|
|
IMAGE_NAME="phlak/mumble"
|
|
|
|
# Set script directory path
|
|
SCRIPT_DIR="$(dirname $(readlink -f ${0}))"
|
|
|
|
# Build the image
|
|
docker build --force-rm --pull --tag ${IMAGE_NAME}:local ${SCRIPT_DIR}
|
|
|
|
# Notify user of success
|
|
echo "Sucessfully created image: ${IMAGE_NAME}:local"
|