diff utils/Dockerfile @ 14:5643072a1af9

DEP-7: formalize ssdt-utils image. add template preview usas compose file
author smith@nwoca.org
date Sun, 27 Dec 2015 19:24:12 +0000
parents c9a3e1f8d500
children 541766977a11
line wrap: on
line diff
--- a/utils/Dockerfile	Sun Dec 27 18:00:03 2015 +0000
+++ b/utils/Dockerfile	Sun Dec 27 19:24:12 2015 +0000
@@ -2,9 +2,21 @@
 
 MAINTAINER Dave Smith smith@nwoca.org
 
+ENV SSDT_HOME=/ssdt \
+    SSDT_DOCKER=http://hg.ssdt-ohio.org/public/ssdt-docker/
+
 RUN apt-get update -y
 
 RUN apt-get install -y mercurial \
     && apt-get install -y curl \
     && apt-get install -y vim \
     && apt-get install -y nano
+
+VOLUME /ssdt
+
+COPY ./docker-entrypoint.sh /
+
+RUN chmod a+x ./docker-entrypoint.sh
+
+ENTRYPOINT ["/docker-entrypoint.sh"]
+