Sha256: 8f217007e383f348131bbef0438a8bbf5d4d3dd1459978ea8e24c2c6aa4471cf

Contents?: true

Size: 639 Bytes

Versions: 7

Compression:

Stored size: 639 Bytes

Contents

#!/bin/bash

set -e

SCRIPT_DIR=$( cd -- "$( dirname -- "${0}" )" > /dev/null 2>&1 && pwd )

. "${SCRIPT_DIR}/dx.sh.lib"

require_command "docker"
load_docker_compose_env

usage_on_help "Builds the Docker image based on the Dockerfile" "" "build.pre" "build.post" "${@}"

exec_hook_if_exists "build.pre" Dockerfile.dx "${IMAGE}"

docker build \
  --file Dockerfile.dx \
  --tag "${IMAGE}" \
  ./

exec_hook_if_exists "build.post" Dockerfile.dx "${IMAGE}"

log "🌈" "Your Docker image has been built tagged '${IMAGE}'"
log "🔄" "You can now run dx/start to start it up, though you may need to stop it first with Ctrl-C"

# vim: ft=bash

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
brut-0.0.7 dx/build
brut-0.0.6 dx/build
brut-0.0.5 dx/build
brut-0.0.4 dx/build
brut-0.0.3 dx/build
brut-0.0.2 dx/build
brut-0.0.1 dx/build