Skip to content

intersystems-community/JavaGatewayImage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JavaGatewayImage

JavaGateway in a docker image. This image is published as intersystemsdc/jgw:latest.

Containerising your Java Gateway library

As simple as:

FROM eclipse-temurin:8-jre-alpine AS builder

ARG APP_HOME=/tmp/app

# Copy your lib sources
COPY src $APP_HOME/src

# Copy Gateway Jars dependencies
COPY --from=intersystemscommunity/jgw:latest /jgw/*.jar $APP_HOME/jgw/

# Compile your java library
# Output the jars to /tmp/app/jar/
# RUN javac/graddle/maven

FROM intersystemscommunity/jgw:latest

COPY --from=builder /tmp/app/jar/*.jar $GWDIR/

Debugging

Uncomment 3 lines in docker-compose to enable remote debugging on port 5005.

Example

Example of the Java Library built from this image is available here.

About

JavaGateway in a docker image

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published