#!/bin/bash
set -eux

image_name=kiyoad/devenv

script -c "docker build -t ${image_name} ." docker_build.log

#!/bin/bash
set -eux

image_name=kiyoad/devenv
id=$(date '+%Y%m%d')

script -ac "docker build -t ${image_name}_${id} ." docker_build_${id}.log

Add date info to docker image name
Add date info to docker image name
