-
Notifications
You must be signed in to change notification settings - Fork 245
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reintroduce boringcrypto images (#725)
* misc: build boringcrypto and cngcrypto images for Linux and Windows * docs: document boringcrypto images * Revert "docs: temporarily remove boringcrypto references (#97)" This reverts commit c9daa54. * Apply suggestions from code review Co-authored-by: Clayton Cornell <[email protected]> * docs: use BoringCrypto/CNGCrypto as proper spelling --------- Co-authored-by: Clayton Cornell <[email protected]>
- Loading branch information
1 parent
3dd7143
commit 22411f9
Showing
8 changed files
with
327 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
FROM grafana/alloy-build-image:v0.1.0-windows as builder | ||
ARG VERSION | ||
ARG RELEASE_BUILD=1 | ||
ARG GO_TAGS | ||
|
||
COPY . /src/alloy | ||
WORKDIR /src/alloy | ||
|
@@ -11,7 +12,7 @@ SHELL ["cmd", "/S", "/C"] | |
# we can before moving on to the next step. | ||
RUN ""C:\Program Files\git\bin\bash.exe" -c "RELEASE_BUILD=${RELEASE_BUILD} VERSION=${VERSION} make generate-ui && rm -rf web/ui/node_modules && yarn cache clean --all"" | ||
|
||
RUN ""C:\Program Files\git\bin\bash.exe" -c "RELEASE_BUILD=${RELEASE_BUILD} VERSION=${VERSION} GO_TAGS='builtinassets' make alloy"" | ||
RUN ""C:\Program Files\git\bin\bash.exe" -c "RELEASE_BUILD=${RELEASE_BUILD} VERSION=${VERSION} GO_TAGS="builtinassets ${GO_TAGS}" make alloy"" | ||
# In this case, we're separating the clean command from make alloy to avoid an issue where access to some mod cache | ||
# files is denied immediately after make alloy, for example: | ||
# "go: remove C:\go\pkg\mod\golang.org\[email protected]\bin\go.exe: Access is denied." | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.