Sign inSign up

izonder/janny

By izonder

•Updated almost 3 years ago

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

Image
0

1.9K

izonder/janny repository overview

⁠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.

⁠Features

  • Alpine linux as base-image
  • S6-overlay to run multiple processes in container
  • Nginx v1.20.x with basic configuration
  • Node.js v16.x.x
  • Yarn package manager
  • Java OpenJDK 11 (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"]

Tag summary

Content type

Image

Digest

sha256:d0662ee80…

Size

119.5 MB

Last updated

almost 3 years ago

docker pull izonder/janny