-
Notifications
You must be signed in to change notification settings - Fork 524
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 hotdog OCI hooks #1871
Add hotdog OCI hooks #1871
Conversation
9a4e95a
to
816ab5d
Compare
Forced push includes:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM. We need to get this tested in combination with the other PRs too.
packages/hotdog/Cargo.toml
Outdated
[[package.metadata.build-package.external-files]] | ||
url = "https://github.com/bottlerocket-os/hotdog/archive/c212cfb564850b48aa6008563074a329cee041a1/hotdog-c212cfb.tar.gz" | ||
sha512 = "68bbd4c4fda72065eae995fe75f0f8d0a30228476051906da4bce3f66352138356bb4dd4fd8e0aa6f5822388f9c7dc04e85fa35038e91be294e4fdd4a6e970bc" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We want bottlerocket-os/hotdog@f300fb78 for the verbosity fix.
packages/hotdog/hotdog.spec
Outdated
# The oci hooks commands can be compiled as we usually compile golang packages | ||
%cross_go_configure %{goimport} | ||
for cmd in hotdog-cc-hook hotdog-poststart-hook; do | ||
GO111MODULE=off go build -buildmode=pie -ldflags "-linkmode=external" -o $cmd ./cmd/$cmd |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This probably needs to change for the newer SDK:
GO111MODULE=off go build -buildmode=pie -ldflags "-linkmode=external" -o $cmd ./cmd/$cmd | |
GO111MODULE=off go build -buildmode=pie -ldflags "${GOLDFLAGS}" -o $cmd ./cmd/$cmd |
hotdog provides oci hooks to apply the hotpatch for Apache log4j2, to containers running JVM machines Signed-off-by: Arnaldo Garcia Rincon <agarrcia@amazon.com>
816ab5d
to
7f5c805
Compare
Forced push includes:
|
Issue number:
N / A
Description of changes:
hotdog
provides oci hooks to apply the hotpatch for Apache log4j2, to containers running JVM machinesRemaining tasks:
Testing done:
I built it with my local copy of the sources.
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.