Skip to content

Instantly share code, notes, and snippets.

@cereniyim
Created June 6, 2020 14:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cereniyim/a949423103fba0de8434f382e5a87eb8 to your computer and use it in GitHub Desktop.
Save cereniyim/a949423103fba0de8434f382e5a87eb8 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
if test -z "$1"
then
echo "Usage ./build-task-images.sh VERSION"
echo "No version was passed! Please pass a version to the script e.g. 0.1"
exit 1
fi
VERSION=$1
docker build -t code-challenge/base-docker base_docker
docker build -t code-challenge/download-data:$VERSION download_data
docker build -t code-challenge/make-dataset:$VERSION make_dataset
docker build -t code-challenge/clean-data:$VERSION clean_data
docker build -t code-challenge/extract-features:$VERSION extract_features
docker build -t code-challenge/transform-data:$VERSION transform_data
docker build -t code-challenge/impute-data:$VERSION impute_data
docker build -t code-challenge/train-model:$VERSION train_model
docker build -t code-challenge/evaluate-model:$VERSION evaluate_model
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment