Add project's Makefile, improve the Dockerfile.

Add targets to build operator and create docker images.
  Add scm-source.json to the Dockerfile.
This commit is contained in:
Oleksii Kliukin
2017-05-12 11:35:47 +02:00
committed by Murat Kabilov
parent 4f615be718
commit 8e15b846c9
2 changed files with 46 additions and 2 deletions
+5 -2
View File
@@ -1,5 +1,8 @@
FROM alpine
ADD postgres-operator /usr/local/bin
MAINTAINER Team ACID @ Zalando <team-acid@zalando.de>
CMD ["/usr/local/bin/postgres-operator"]
ADD build/linux/postgres-operator /postgres-operator
ADD scm-source.json /
ENTRYPOINT ["/postres-operator"]