Skip to content

refactor: migrate to parameterized Dockerfile with centralized config#40

Merged
danbao merged 12 commits intomasterfrom
refactor/parameterized-dockerfile
Dec 22, 2025
Merged

refactor: migrate to parameterized Dockerfile with centralized config#40
danbao merged 12 commits intomasterfrom
refactor/parameterized-dockerfile

Conversation

@danbao
Copy link
Collaborator

@danbao danbao commented Dec 20, 2025

  • Replace 4 separate Dockerfiles with single parameterized Dockerfile
  • Use ghcr.io/ringcentral-docker/node as base image
  • Add versions/versions.json as single source of truth (12 combinations)
  • Create modular installation scripts with multi-arch support (amd64/arm64)
  • Update CI/CD workflow with dynamic matrix from versions.json
  • Support multi-platform builds (linux/amd64, linux/arm64)

Breaking changes:

  • Base image changed from node:alpine to ringcentral/node (Ubuntu-based)
  • Image tags updated to new format: node{major}-jdk{version}

- Replace 4 separate Dockerfiles with single parameterized Dockerfile
- Use ghcr.io/ringcentral-docker/node as base image
- Add versions/versions.json as single source of truth (12 combinations)
- Create modular installation scripts with multi-arch support (amd64/arm64)
- Update CI/CD workflow with dynamic matrix from versions.json
- Support multi-platform builds (linux/amd64, linux/arm64)

Breaking changes:
- Base image changed from node:alpine to ringcentral/node (Ubuntu-based)
- Image tags updated to new format: node{major}-jdk{version}
@oshatrava
Copy link
Contributor

LGTM

@danbao danbao merged commit ee69f31 into master Dec 22, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants