Skip to content
/ janny Public

Slim docker container image JANNY = Java + Alpine + Nginx + Node.js + Yarn

License

Notifications You must be signed in to change notification settings

izonder/janny

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JANNY - a slim docker container image with Java

JANNY = Java + Alpine + Nginx + Node.js + Yarn

Build Docker image

IMPORTANT! Breaking changes announcement

Due to new JDK verion we have released a major upgrade, which contains:

Please be aware of that and make sure these changes won't affect your functionality. Also be aware the child image izonder/lanny is also rebuilt based on izonder/janny:latest.

Supported tags and respective Dockerfile links

Features

  • Alpine linux as base-image
  • S6-overlay to run multiple processes in container
  • Nginx v1.24.x with basic configuration
  • Node.js v18.x.x
  • Yarn package manager
  • Java OpenJDK 17 (JRE)

How to use?

FROM izonder/anny:latest

...

# add new service
COPY ./service/myservice.sh /etc/services.d/myservice/run

...

# add nginx configuration
COPY ./nginx/myapp.conf /etc/nginx/conf.d/myapp.conf

...

# install dependencies
RUN yarn install

...

# run java
RUN java [parameters]

...

# entry point
CMD ["node", "myapp.js"]

About

Slim docker container image JANNY = Java + Alpine + Nginx + Node.js + Yarn

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published