Sha256: dcacb958d8701af0d127b685ad1f0af7f8dae62a2cfaef8e0ca5e1e6ce0a5580

Contents?: true

Size: 308 Bytes

Versions: 3

Compression:

Stored size: 308 Bytes

Contents

#!/usr/bin/env bash
set -x
set -e

project=$(basename `pwd`)
dockerfile="${1:-tasks/test/Dockerfile}"
task_name="${2:-$project-test-$(date +%s)}"
base_image="$(grep '^FROM' "$dockerfile" | awk '{ print $2 }')"

docker pull "$base_image"
docker build -t "$task_name" -f "$dockerfile" .
docker rmi "$task_name"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
robit-1.0.8 tasks/test/run.sh
robit-1.0.7 tasks/test/run.sh
robit-1.0.6 tasks/test/run.sh