Newer
Older
docker-doom / build-docker-doom.sh
@Whitey McCarragher Whitey McCarragher on 23 Feb 2018 224 bytes forgot that single quotes meant literal
#!/bin/bash

if [ "`command -v docker`" = '' ]; then
  echo "You have to install docker before you can build the container."
  exit 1
elif [ "$#" -gt 1 ]; then
   docker build . -t $1
else
  docker build . -t docker-doom
fi