Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update SDK dependencies, add OpenSSL #60

Merged
merged 11 commits into from
Oct 27, 2021

Conversation

bcressey
Copy link
Contributor

Issue number:
Fixes #50
Fixes #58

Description of changes:
Refresh all dependencies, including the long-awaited cargo-deny update.

Add openssl to the musl sysroot, to be used in places where we're building Rust-based Kubernetes clients.

Testing done:
Built Bottlerocket with the updated SDK. Verified that I could create a static Rust binary that linked with OpenSSL by way of kube-rs and the openssl crate.

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

Signed-off-by: Ben Cressey <bcressey@amazon.com>
Signed-off-by: Ben Cressey <bcressey@amazon.com>
Dockerfile Outdated Show resolved Hide resolved
Copy link
Contributor

@cbgbt cbgbt left a comment

Choose a reason for hiding this comment

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

🎉

Dockerfile Outdated Show resolved Hide resolved
@bcressey bcressey marked this pull request as draft October 18, 2021 23:43
Copy link
Contributor

@tjkirch tjkirch left a comment

Choose a reason for hiding this comment

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

LGTM; new Rust is coming out in a few days, may be nice to wait for that.

Fix the logic for custom vendor targets to account for refactoring of
the aarch64-unknown-linux-gnu target upstream:
  rust-lang/rust#86231

Signed-off-by: Ben Cressey <bcressey@amazon.com>
Signed-off-by: Ben Cressey <bcressey@amazon.com>
Signed-off-by: Ben Cressey <bcressey@amazon.com>
Signed-off-by: Ben Cressey <bcressey@amazon.com>
Signed-off-by: Ben Cressey <bcressey@amazon.com>
Add the "Zlib" license to the expected list.

Ensure that crates only come from expected sources, and that only one
version is used.

Signed-off-by: Ben Cressey <bcressey@amazon.com>
This will be used for Kubernetes clients written in Rust, since our
preferred rustls dependency cannot yet verify identity for subjects
that are IP addresses.

Signed-off-by: Ben Cressey <bcressey@amazon.com>
erofs is a potential replacement for uses of squashfs in the distro.

Signed-off-by: Ben Cressey <bcressey@amazon.com>
Signed-off-by: Ben Cressey <bcressey@amazon.com>
@bcressey bcressey marked this pull request as ready for review October 26, 2021 18:39
@bcressey bcressey merged commit f0b859e into bottlerocket-os:develop Oct 27, 2021
@bcressey bcressey deleted the updates-and-openssl branch October 27, 2021 00:01
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.

Update Rust to 1.56 update cargo-deny to 0.9.1+
6 participants