Mumble docker container
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.

17 lines
410 B

9 years ago
9 years ago
9 years ago
  1. #!/usr/bin/env bash
  2. set -o errexit
  3. # Set the image name
  4. IMAGE_NAME="phlak/mumble"
  5. # Set script directory path
  6. SCRIPT_DIR="$(dirname $(readlink -f ${0}))"
  7. # Set image tag
  8. TAG="$(grep 'ENV MUMBLE_VERSION' Dockerfile | awk '{print $3}')"
  9. # Build the image
  10. docker build --force-rm --pull --tag ${IMAGE_NAME}:${TAG} ${SCRIPT_DIR}
  11. # Notify user of success
  12. echo "Sucessfully created image: ${IMAGE_NAME}:${TAG}"