JANNY = Java + Alpine + Nginx + Node.js + Yarn
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
.
latest
(Dockerfile)18
(Dockerfile)16
(Dockerfile)14
(Dockerfile)12
(Dockerfile)10
(Dockerfile)
- 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)
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"]