Skip to content

Comments

chore: bump machine-guest-tools to 0.17.2#75

Merged
endersonmaia merged 2 commits intoprerelease/sdk-12from
chore/bump-machine-guest-tools-to-0.17.2
Oct 22, 2025
Merged

chore: bump machine-guest-tools to 0.17.2#75
endersonmaia merged 2 commits intoprerelease/sdk-12from
chore/bump-machine-guest-tools-to-0.17.2

Conversation

@endersonmaia
Copy link
Contributor

This pull request updates the installation of machine-guest-tools across all language-specific Dockerfiles to use version 0.17.2. It also updates the expected SHA512 checksum for the downloaded .deb package and removes a workaround related to non-determinism in the installation process. The changes ensure consistency and security when building images.

Dependency Version Updates:

  • Updated the MACHINE_GUEST_TOOLS_VERSION argument from previous versions (mostly 0.17.1, 0.17.0 for Java) to 0.17.2 in all Dockerfiles (cpp-low-level/Dockerfile, cpp/Dockerfile, go/Dockerfile, java/Dockerfile, javascript/Dockerfile, lua/Dockerfile, python/Dockerfile, ruby/Dockerfile, rust/Dockerfile, typescript/Dockerfile). [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]

  • Updated the SHA512 checksum to match the new version of machine-guest-tools_riscv64.deb in all relevant installation steps. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]

Build Process Simplification:

  • Removed the workaround that copied /etc/shadow to /etc/shadow- after installing machine-guest-tools to address non-determinism. This was removed from all Dockerfiles except cpp-low-level/Dockerfile (where it was already not present), simplifying the build process. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]

Consistency and Security Improvements:

  • Ensured all Dockerfiles use a consistent method for downloading, verifying, and installing the machine-guest-tools package, including the use of busybox wget and checksum verification. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]

Platform-specific Adjustments:

  • For the java/Dockerfile, switched to a multi-line RUN <<EOF ... EOF block for installation to match the approach used in other Dockerfiles, improving maintainability and consistency.

Cleanup and Optimization:

  • Retained the cleanup steps (rm -rf /var/lib/apt/lists/* /var/log/* /var/cache/*) after installation to keep images small and free of unnecessary files. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]

@endersonmaia endersonmaia self-assigned this Oct 21, 2025
@endersonmaia endersonmaia requested a review from tuler October 21, 2025 20:39
@endersonmaia endersonmaia merged commit 7bb05fb into prerelease/sdk-12 Oct 22, 2025
10 checks passed
@endersonmaia endersonmaia deleted the chore/bump-machine-guest-tools-to-0.17.2 branch October 22, 2025 12:04
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