#!/bin/sh
-# note: docker file is kept in subdir, as docker build uploads context to docker first when building
-# and when it contains poldek cache and rpm root, it's big, unneccessary and may lack of permissions
-# however .dockerignore could solve all that
-docker build --pull -t pld/cleanbuild docker
+set -e
+docker build --pull -t pld/cleanbuild .