-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDockerfile
More file actions
28 lines (21 loc) 路 720 Bytes
/
Copy pathDockerfile
File metadata and controls
28 lines (21 loc) 路 720 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ARG IMAGE=containers.intersystems.com/intersystems/irishealth-community:2021.1.0.215.0
#ARG IMAGE=store/intersystems/irishealth-community:2020.3.0.221.0
ARG IMAGE=intersystemsdc/irishealth-community:2021.1.0.215.3-zpm
ARG IMAGE=intersystemsdc/irishealth-community
FROM $IMAGE
USER root
## add git
RUN apt update && apt-get -y install git
USER root
RUN mkdir /opt/app && chown irisowner:irisowner /opt/app
USER irisowner
WORKDIR /opt/app
COPY ./Installer.cls ./
COPY ./iris.script ./
COPY ./TestRanges.csv ./TestRanges.csv
COPY ./src ./src/
COPY ./shared ./shared/
# run iris and initial
RUN iris start IRIS \
&& iris session IRIS < iris.script \
&& iris stop IRIS quietly