first version of docker support

This commit is contained in:
john30
2017-01-29 16:52:01 +01:00
parent ef65a8cf75
commit 5236002f77
5 changed files with 56 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
#!/bin/sh
set -e
export EBUSD_VERSION=`cat ../../VERSION`
export EBUSD_ARCH=`docker version|grep -i "Arch[^:]*server"|head -n 1|sed -e 's#^.*/##'`
sed -i -e "s#^ENV EBUSD_VERSION .*\$#ENV EBUSD_VERSION ${EBUSD_VERSION}#" -e "s#^ENV EBUSD_ARCH .*\$#ENV EBUSD_ARCH ${EBUSD_ARCH}#" runtime/Dockerfile