• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#! /usr/bin/env bash
2
3pushd $(dirname $0)
4. ./imagename
5
6# see https://stackoverflow.com/a/2924755 for switching boldface on/off
7bold=$(tput bold)
8normal=$(tput sgr0)
9
10echo "${bold}**** Creating build-env image ****${normal}"
11docker build -f Dockerfile.build-env -t $USER/$IMAGE:build-env .
12
13echo "${bold}**** Creating develop image ****${normal}"
14docker build -f Dockerfile.develop -t $USER/$IMAGE:develop ..
15
16popd
17