Skip to content

Conversation

@ArtyomSavchenko
Copy link
Member

No description provided.

ArtyomSavchenko and others added 5 commits November 17, 2025 14:58
Signed-off-by: Artem Savchenko <armisav@gmail.com>
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
Signed-off-by: Artem Savchenko <armisav@gmail.com>
Signed-off-by: Artem Savchenko <armisav@gmail.com>
Signed-off-by: Artem Savchenko <armisav@gmail.com>
@huly-github-staging
Copy link

Connected to Huly®: UBERF-14095

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 optimizes Docker build space usage by switching multiple service Docker images from full base images (hardcoreeng/base and hardcoreeng/front-base) to a slimmer variant (hardcoreeng/base-slim:v20250916), enabling Docker BuildKit, and adding optional cleanup logic for build artifacts. The slim base image uses node:22-slim instead of node:22, reducing image size while maintaining necessary runtime dependencies.

  • Migrated 5 services to use the lighter base-slim Docker image
  • Added DOCKER_BUILDKIT: 1 across GitHub Actions workflows for improved build performance
  • Introduced cleanup script logic to remove build artifacts after Docker builds

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
services/payment/pod-payment/Dockerfile Changed base image from hardcoreeng/base to hardcoreeng/base-slim:v20250916
services/export/pod-export/Dockerfile Changed base image from hardcoreeng/base to hardcoreeng/base-slim:v20250916
services/billing/pod-billing/Dockerfile Changed base image from hardcoreeng/base to hardcoreeng/base-slim:v20250916
services/backup/backup-api-pod/Dockerfile Changed base image from hardcoreeng/front-base to hardcoreeng/base-slim:v20250916
dev/tool/Dockerfile Changed base image from unversioned hardcoreeng/base to hardcoreeng/base-slim:v20250916
common/scripts/docker_build.sh Added cleanup logic for build artifacts (bundle, dist, .rush directories) with bug in flag handling
.github/workflows/main.yml Enabled Docker BuildKit across multiple CI jobs and added cleanup flag to docker-build job

Signed-off-by: Artem Savchenko <armisav@gmail.com>
@ArtyomSavchenko ArtyomSavchenko marked this pull request as ready for review November 17, 2025 14:43
@ArtyomSavchenko ArtyomSavchenko merged commit 1cd34ea into develop Nov 17, 2025
13 of 15 checks passed
@ArtyomSavchenko ArtyomSavchenko deleted the buildkit branch November 17, 2025 14:50
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.

3 participants