forked from fakriman/IRIS-FHIR-Profile-Validation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFHIRsrvFile
46 lines (30 loc) · 1.19 KB
/
FHIRsrvFile
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
FROM containers.intersystems.com/intersystems/irishealth-ml-community:2022.1.2.574.0
LABEL maintainer="Ariel Arias <[email protected]>"
# Install some updates
USER root
RUN apt-get -y update
# Install some aditional software may be needed later
RUN apt-get install -y vim nano net-tools unzip wget sudo curl yarn iputils-ping links npm nodejs
RUN npm install -g fsh-sushi --force
USER ${ISC_PACKAGE_MGRUSER}
RUN iris stop IRIS quietly
## COPY ./Licencias/iris4h2023.key /usr/irissys/mgr/iris.key
RUN iris start IRIS
USER root
RUN usermod -aG sudo ${ISC_PACKAGE_MGRUSER}
WORKDIR /opt/irisapp
RUN chown -R ${ISC_PACKAGE_MGRUSER}:${ISC_PACKAGE_IRISGROUP} /opt/irisapp
USER ${ISC_PACKAGE_MGRUSER}
COPY validacion-fhir validacion-fhir
COPY data/fhir fhirdata
COPY shared/jdk-11.0.1.zip /tmp/jdk-11.0.1.zip
COPY irisfhir.script /tmp/irisfhir.script
COPY habilitarusuarios.script /tmp/habilitarusuarios.script
USER ${ISC_PACKAGE_MGRUSER}
RUN unzip /tmp/jdk-11.0.1.zip -d /opt/irisapp/
USER root
RUN chown -R ${ISC_PACKAGE_MGRUSER}:${ISC_PACKAGE_IRISGROUP} /opt/irisapp
USER ${ISC_PACKAGE_MGRUSER}
# run iris and initial
RUN iris start IRIS \
&& iris session IRIS < /tmp/habilitarusuarios.script