summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2015-10-15 15:27:23 +0200
committerChristian Heimes <christian@python.org>2015-10-15 15:27:23 +0200
commit5be736d996f8c6cc85c4d6e859deeea7f7088698 (patch)
tree9a7ccbbfa609b9f150c69048dfb402aee672a448 /Dockerfile
downloadcustodia_pwmgr-5be736d996f8c6cc85c4d6e859deeea7f7088698.tar.gz
custodia_pwmgr-5be736d996f8c6cc85c4d6e859deeea7f7088698.tar.xz
custodia_pwmgr-5be736d996f8c6cc85c4d6e859deeea7f7088698.zip
Initial commit of Custodia client API example
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile15
1 files changed, 15 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..af9f467
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,15 @@
+FROM fedora
+MAINTAINER Christian Heimes
+
+RUN dnf -y update && dnf clean all
+RUN dnf -y install dnf-plugins-core python python-flask python-requests && \
+ dnf clean all
+RUN dnf -y copr enable simo/jwcrypto && \
+ dnf -y install python-jwcrypto python-cryptography && \
+ dnf clean all
+
+ADD . /custodia_pwmgr
+
+EXPOSE 5000
+
+CMD ["/custodia_pwmgr/run.sh"]