intersystems-community / iris-community-edition

Feedback and Issues for InterSystems IRIS Community Edition
https://hub.docker.com/_/intersystems-iris-data-platform
MIT License
1 stars 0 forks source link

Dockerfile SHELL with ObjectScript support #7

Open daimor opened 5 years ago

daimor commented 5 years ago

I would like to write ObjectScript command right in Dockerfile without echoing it to iris session, during docker build. So, to install some application inside an IRIS container, I would use something like these lines.

SHELL [“session”, “-c”]
RUN do $system.OBJ.ImportDir(“${SOMEPATH}/src”) \
    do ##class(App.Installer).setup()

very simple, and very readable. And session command should care about start/stop iris, to run this commands

zrml commented 5 years ago

This is already on our list of things that we are evaluating...