Scott Baker | eb201f2 | 2017-04-10 11:47:58 -0700 | [diff] [blame^] | 1 | FROM xosproject/xos-base:candidate |
| 2 | |
| 3 | ARG XOS_GIT_COMMIT_HASH=unknown |
| 4 | ARG XOS_GIT_COMMIT_DATE=unknown |
| 5 | |
| 6 | LABEL XOS_GIT_COMMIT_HASH=$XOS_GIT_COMMIT_HASH |
| 7 | LABEL XOS_GIT_COMMIT_DATE=$XOS_GIT_COMMIT_DATE |
| 8 | |
| 9 | # Install the corebuilder tools and the tosca custom_types that it needs |
| 10 | ADD xos/tools/corebuilder /opt/xos/tools/corebuilder |
| 11 | ADD xos/tosca/custom_types /opt/xos/tools/corebuilder/custom_types |
| 12 | |
| 13 | ENV HOME /root |
| 14 | WORKDIR /opt/xos/tools/corebuilder |
| 15 | |
| 16 | ENTRYPOINT ["/usr/bin/python", "corebuilder.py"] |
| 17 | |