Skip to content

Conversation

@kevinjqliu
Copy link
Contributor

@kevinjqliu kevinjqliu commented Jan 20, 2026

Rationale for this change

Reorder Dockerfile commands for better caching
All files has the same functionalities, just reordered.

Are these changes tested?

Are there any user-facing changes?

@kevinjqliu kevinjqliu marked this pull request as ready for review January 20, 2026 04:59
@kevinjqliu kevinjqliu requested a review from Fokko January 20, 2026 04:59
Copy link
Contributor

@Fokko Fokko left a comment

Choose a reason for hiding this comment

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

I love it!

# specific language governing permissions and limitations
# under the License.

services:
Copy link
Contributor

Choose a reason for hiding this comment

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

There is also a yaml sort hook, but I'm not sure if it will improve readability: https://github.com/leehambley/pre-commit-sort-yaml-keys

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ty! i can look into this

Copy link
Member

@raulcd raulcd left a comment

Choose a reason for hiding this comment

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

The changes on the Dockerfile's look great. Thanks for the work @kevinjqliu

@kevinjqliu kevinjqliu merged commit ca93b31 into apache:main Jan 20, 2026
10 checks passed
@kevinjqliu kevinjqliu deleted the kevinjqliu/improve-dockerfile branch January 20, 2026 15:23
@kevinjqliu
Copy link
Contributor Author

Thanks for the review @Fokko @raulcd

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