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

Add build image for windows boringcrypto executable. #6369

Merged
merged 13 commits into from
Feb 16, 2024

Conversation

mattdurham
Copy link
Collaborator

@mattdurham mattdurham commented Feb 14, 2024

PR Description

This lays the groundwork for building windows agent flow using boring crypto. The important bit for this is FROM mcr.microsoft.com/oss/go/microsoft/golang:1.22-bullseye as golang which tells it to use the fips compatible windows golang runtime.

Not adding a changelog until the second part of the pr to use the built image.

At some point may switch the linux version to using this so its cleaner on what builds what.

@mattdurham mattdurham marked this pull request as ready for review February 14, 2024 21:35
@mattdurham
Copy link
Collaborator Author

Note I have built a fips windows version using my docker account mrdgrafana build image.

@mattdurham
Copy link
Collaborator Author

I originally though about importing the core build image and only overwriting the go parts but then the build image needs to have another step and that seems painful. Basically would have to trigger a build on the normal build images, change the code for fips to use them, then trigger another build for the fips image.

Copy link
Member

@rfratto rfratto left a comment

Choose a reason for hiding this comment

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

LGTM

build-image/Dockerfile Outdated Show resolved Hide resolved
.drone/drone.yml Outdated Show resolved Hide resolved
@mattdurham mattdurham enabled auto-merge (squash) February 16, 2024 16:19
@mattdurham mattdurham merged commit eef2cf0 into main Feb 16, 2024
11 checks passed
@mattdurham mattdurham deleted the create_windows_boringcrypto_build_image branch February 16, 2024 16:30
BarunKGP pushed a commit to BarunKGP/grafana-agent that referenced this pull request Feb 20, 2024
* Add build image for windows boringcrypto executable.

* Update Dockerfile

* Update build_image.jsonnet

* Use ARG instead of duplicate image

* force the usage of arg
@mattdurham mattdurham restored the create_windows_boringcrypto_build_image branch February 26, 2024 13:35
@github-actions github-actions bot added the frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed. label Mar 29, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants