Skip to content

Conversation

@ZePan110
Copy link
Collaborator

@ZePan110 ZePan110 commented Jan 19, 2026

Description

Update UI base images for SearchQnA, Text2Image and CodeTrans

Issues

List the issue or RFC link this PR is working on. If there is no such link, please mark it as n/a.

Type of change

List the type of change like below. Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds new functionality)
  • Breaking change (fix or feature that would break existing design and interface)
  • Others (enhancement, documentation, validation, etc.)

Dependencies

List the newly introduced 3rd party dependency if exists.

Tests

Describe the tests that you ran to verify your changes.

@ZePan110 ZePan110 requested a review from Spycsh as a code owner January 19, 2026 05:06
Copilot AI review requested due to automatic review settings January 19, 2026 05:06
@github-actions
Copy link

github-actions bot commented Jan 19, 2026

ℹ️ INFO
File CodeTrans/ui/docker/Dockerfile resulted in a change in the image size from 1426 -> 1417 MB (diff: -9 MB)

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Node.js base image versions in Docker configurations for CodeGen and CodeTrans UI components from specific Node 20 versions to Node 22.

Changes:

  • Upgraded Node.js base images from version 20.x to version 22
  • Updated Docker base image specifications to use a non-pinned version tag

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
CodeTrans/ui/docker/Dockerfile Updates base image from node:20.19.0 to node:22
CodeGen/ui/docker/Dockerfile Updates base image from node:20.11.1 to node:22

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

# Use node 20.19.0 as the base image (required for [email protected] compatibility)
FROM node:20.19.0
# Use node 22 as the base image (required for [email protected] compatibility)
FROM node:22
Copy link

Copilot AI Jan 19, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using an unpinned version tag (node:22) in production Dockerfiles is not recommended. This can lead to non-reproducible builds as the underlying image may change over time. Consider pinning to a specific patch version (e.g., node:22.0.0) or at minimum a minor version (e.g., node:22.0) to ensure build consistency and predictability.

Suggested change
FROM node:22
FROM node:22.0

Copilot uses AI. Check for mistakes.
# Use node 20.11.1 as the base image
FROM node:20.11.1
# Use node 22 as the base image
FROM node:22
Copy link

Copilot AI Jan 19, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using an unpinned version tag (node:22) in production Dockerfiles is not recommended. This can lead to non-reproducible builds as the underlying image may change over time. Consider pinning to a specific patch version (e.g., node:22.0.0) or at minimum a minor version (e.g., node:22.0) to ensure build consistency and predictability.

Suggested change
FROM node:22
FROM node:22.0.0

Copilot uses AI. Check for mistakes.
@github-actions
Copy link

github-actions bot commented Jan 19, 2026

ℹ️ INFO
File CodeTrans/ui/docker/Dockerfile resulted in a change in the image size from 1426 -> 1417 MB (diff: -9 MB)

Signed-off-by: ZePan110 <[email protected]>
@github-actions
Copy link

github-actions bot commented Jan 19, 2026

ℹ️ INFO
File CodeTrans/ui/docker/Dockerfile resulted in a change in the image size from 1426 -> 1417 MB (diff: -9 MB)
⚠️ WARNING
File SearchQnA/ui/docker/Dockerfile resulted in a change in the image size from 1416 -> 1596 MB (diff: 180 MB)
⚠️ WARNING
File Text2Image/ui/docker/Dockerfile resulted in a change in the image size from 1418 -> 1594 MB (diff: 176 MB)

@ZePan110 ZePan110 changed the title Update UI base images for CodeGen and CodeTrans Update UI base images for SearchQnA, Text2Image and CodeTrans Jan 19, 2026
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