Sign inSign up

khlee79/jdk17-maven-node22

By khlee79

Updated 11 months ago

A unified GitLab CI/CD build image: combines Maven 3.9.10 (Java 17) and Node.js 22 LTS.

Image
Languages & frameworks
Developer tools
0

112

khlee79/jdk17-maven-node22 repository overview


🌟 Image Description

Short Description

A ready-to-use build image for GitLab CI/CD, combining Maven, Java 17, and Node.js 22 LTS to support full-stack application compilation.


Full Description

Hello Developers! 👋

This is a specialized Docker image built specifically for robust full-stack projects running on GitLab CI/CD.

We understand the headache of setting up mixed environments. That's why we’ve merged the two critical toolchains your modern application needs:

  • Backend/Java: Based on the reliable maven:3.9.10-eclipse-temurin-17 image. You get Apache Maven 3.9.10 and Java 17 (Eclipse Temurin) out-of-the-box for clean, fast Java compilation.
  • Frontend/JavaScript: We've seamlessly added Node.js 22 LTS (Long Term Support) and npm. This ensures your frontend tasks (like running npm install, compiling assets, or executing build scripts via Maven's exec plugin) work flawlessly without any "command not found" errors.

Key Features:

  1. Dual Environment: Runs both mvn and npm commands successfully within a single CI stage.
  2. Stability: Leverages Node.js's stable LTS release (v22).
  3. Efficiency: Saves valuable CI time by eliminating the need to install Node.js/npm manually in every build job.

Use this image in your .gitlab-ci.yml to streamline your build process and ship code faster!

# Use this image in your .gitlab-ci.yml
image: khlee79/jdk17-maven-node22:v1.0 

# Your script can now run both commands seamlessly
script:
  - mvn clean compile 
  - # Maven exec plugin will find npm!

Happy Building! 🚀

Tag summary

Content type

Image

Digest

sha256:32226e113

Size

285.2 MB

Last updated

11 months ago

docker pull khlee79/jdk17-maven-node22:v1.0