From ebe8d3f68cb9d837c0d8ae2d8d1f477c7bb20423 Mon Sep 17 00:00:00 2001 From: Roman Hotsiy Date: Tue, 6 Nov 2018 16:25:17 +0200 Subject: [PATCH] chore: use docker build hook to use Dockerfile from other location [ci skip] --- config/docker/hooks/build | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 config/docker/hooks/build diff --git a/config/docker/hooks/build b/config/docker/hooks/build new file mode 100755 index 00000000..10203313 --- /dev/null +++ b/config/docker/hooks/build @@ -0,0 +1,6 @@ +#!/bin/bash + +# DockerHub cd into Dockerfile location before buil +# So we have to undo this. +cd ../.. +docker build -f config/docker/Dockerfile -t $IMAGE_NAME .