Skip to content

Commit

Permalink
build with vanilla IRIS and IPM install
Browse files Browse the repository at this point in the history
  • Loading branch information
evshvarov committed Aug 29, 2024
1 parent 9b18e04 commit 26260cb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ ARG IMAGE=intersystemsdc/irishealth-community:2020.3.0.200.0-zpm
ARG IMAGE=intersystemsdc/iris-community:2020.4.0.547.0-zpm
ARG IMAGE=containers.intersystems.com/intersystems/iris:2021.1.0.215.0
ARG IMAGE=intersystemsdc/iris-community:2024.1-zpm
ARG IMAGE=containers.intersystems.com/intersystems/iris-community:latest-preview
FROM $IMAGE

WORKDIR /home/irisowner/irisdev/
Expand All @@ -13,7 +14,7 @@ WORKDIR /home/irisowner/irisdev/

ARG TESTS=0
ARG MODULE="dsw-map"
ARG NAMESPACE="IRISAPP"
ARG NAMESPACE="USER"

## Embedded Python environment
ENV IRISUSERNAME "_SYSTEM"
Expand Down
3 changes: 3 additions & 0 deletions dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ docker compose exec iris iris session iris -U USER
### Clear docker fs
```
docker system prune -f
docker system prune -a
docker rm -f $(docker ps -qa)
```

### Open SQL shell
Expand Down
4 changes: 4 additions & 0 deletions iris.script
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
set prop("AutheEnabled")=48
do ##class(Security.Services).Modify("%Service_CallIn",.prop)

// install IPM
s r=##class(%Net.HttpRequest).%New(),r.Server="pm.community.intersystems.com",r.SSLConfiguration="ISC.FeatureTracker.SSL.Config" d r.Get("/packages/zpm/latest/installer"),$system.OBJ.LoadStream(r.HttpResponse.Data,"c")


// load all the code of the project as a ZPM package
zn "USER"
zpm "install isc-dev"
Expand Down

0 comments on commit 26260cb

Please sign in to comment.