Skip to content

Commit

Permalink
fixed #29
Browse files Browse the repository at this point in the history
  • Loading branch information
MakarovS96 committed Feb 17, 2025
1 parent ff2e28b commit 17cb3a7
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,23 @@ ARG IMAGE=store/intersystems/iris-community:2019.4.0.379.0
ARG IMAGE=store/intersystems/iris-community:2020.1.0.197.0
ARG IMAGE=intersystemsdc/iris-community:2020.1.0.209.0-zpm
ARG IMAGE=intersystemsdc/iris-community:2020.1.0.215.0-zpm
ARG IMAGE=intersystemsdc/iris-community
ARG IMAGE=intersystemsdc/iris-community:latest
FROM $IMAGE

USER root
USER irisowner

WORKDIR /opt/irisapp
RUN chown ${ISC_PACKAGE_MGRUSER}:${ISC_PACKAGE_IRISGROUP} /opt/irisapp

USER irisowner

COPY Installer.cls .
COPY src src
COPY build-for-zpm build-for-zpm
COPY irissession.sh /
SHELL ["/irissession.sh"]
COPY irissession.sh .

USER root

RUN chmod +x ./irissession.sh
USER irisowner
SHELL ["./irissession.sh"]

RUN \
do $SYSTEM.OBJ.Load("Installer.cls", "ck") \
Expand Down

0 comments on commit 17cb3a7

Please sign in to comment.