Skip to content

Conversation

@chaptersix
Copy link
Contributor

@chaptersix chaptersix commented Nov 20, 2025

What changed?

This PR add the new docker images with minimized dependencies. They are based on images from the temporalio/docker-builds repository. These images will be used to build from version 1.30.0 and later.

This PR focuses on the Dockerfiles and local build tooling. Future PRs will add GitHub Actions for automated builds.

Changes Made

  • Added Dockerfiles and supporting scripts for server and admin-tools images
  • Added docker-bake.hcl configuration for building images

Why?

The existing build process is more complex than it has to be and existing images have dependencies that are not necessary.

How did you test it?

  • run new images with the helm-charts
  • run new images with docker compose (single container)

Potential risks

Some users might depend on some of the dependencies we've included in our images until now. Or there some special case that we haven't taken into account.

@chaptersix chaptersix marked this pull request as ready for review November 21, 2025 12:21
@chaptersix chaptersix requested review from a team as code owners November 21, 2025 12:21
@chaptersix chaptersix requested a review from bergundy November 21, 2025 13:25
Copy link
Member

@bergundy bergundy left a comment

Choose a reason for hiding this comment

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

I skimmed this and added some comments.

chaptersix and others added 2 commits November 21, 2025 10:49
Co-authored-by: Roey Berman <roey@temporal.io>
Co-authored-by: Kent Gruber <kent.gruber@temporal.io>
@chaptersix chaptersix mentioned this pull request Nov 25, 2025
2 tasks
@chaptersix chaptersix marked this pull request as draft November 25, 2025 21:43
@chaptersix
Copy link
Contributor Author

The makefile and build scripts will be removed In a future PR. Just here for demo/testing.

The Alpine Image is an argument so we can trigger builds via workflows without committing to given branch. It should make re-building images easier

@chaptersix chaptersix marked this pull request as ready for review November 26, 2025 00:39
Copy link
Member

@bergundy bergundy left a comment

Choose a reason for hiding this comment

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

I had a hard stop and didn't finish the review. Will continue tomorrow.

Copy link
Member

@bergundy bergundy left a comment

Choose a reason for hiding this comment

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

I would really like us not to duplicate docker-builds and keep the mess that is that repo in that repo. Can we start fresh in the server repo without carrying over all of the legacy?

Copy link
Member

@bergundy bergundy left a comment

Choose a reason for hiding this comment

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

Approved with comments.

@chaptersix chaptersix enabled auto-merge (squash) December 4, 2025 21:45
@chaptersix
Copy link
Contributor Author

The makefile and build scripts will be removed In a future PR. Just here for demo/testing.

The Alpine Image is an argument so we can trigger builds via workflows without committing to given branch. It should make re-building images easier

removed in this PR

@chaptersix chaptersix merged commit 0679c8a into main Dec 4, 2025
57 checks passed
@chaptersix chaptersix deleted the alex/docker-image-re-v2 branch December 4, 2025 22:36
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.

4 participants