Skip to content

Commit

Permalink
Remove unused dockerRun bash function
Browse files Browse the repository at this point in the history
  • Loading branch information
jgmize committed May 8, 2019
1 parent d7a8ecd commit 4f54aae
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions docker/bin/build_images.sh
Expand Up @@ -23,13 +23,6 @@ function imageExists() {
return $?
}

function dockerRun() {
env_file="$1"
image_tag="mozorg/bedrock_${2}:${GIT_COMMIT}"
cmd="$3"
docker run --rm --user $(id -u) -v "$PWD:/app" --env-file "docker/envfiles/${env_file}.env" "$image_tag" bash -c "$cmd"
}

if ! imageExists; then
docker/bin/docker_build.sh --pull
fi

0 comments on commit 4f54aae

Please sign in to comment.