From 9bc59828bfb4d49a4cd8076310a96bdfb2651ec6 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Wed, 16 Dec 2015 15:04:43 -0500 Subject: [PATCH] Fix alembic head --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 782cfad99..c03cbaf82 100644 --- a/Dockerfile +++ b/Dockerfile @@ -62,7 +62,7 @@ RUN cat .git/HEAD > GIT_HEAD RUN TEST=true venv/bin/python -m unittest discover -f RUN TEST=true venv/bin/python -m test.registry_tests -f -RUN PYTHONPATH=. venv/bin/alembic heads > ALEMBIC_HEAD +RUN PYTHONPATH=. venv/bin/alembic heads | grep -E '^[0-9a-f]+ \(head\)$' > ALEMBIC_HEAD VOLUME ["/conf/stack", "/var/log", "/datastorage", "/tmp", "/conf/etcd"]