-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create container for revocation webhook.
Use a separate container for the revocation webhook. Signed-off-by: Anderson Toshiyuki Sasaki <[email protected]>
- Loading branch information
Showing
3 changed files
with
31 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
FROM quay.io/ubi9/ubi-minimal | ||
|
||
RUN microdnf makecache && \ | ||
microdnf install -y nmap-ncat && \ | ||
microdnf clean all && \ | ||
rm -rf /var/cache/dnf/* | ||
|
||
ENV WEBHOOK_SERVER_PORT 8080 | ||
|
||
EXPOSE $WEBHOOK_SERVER_PORT | ||
|
||
CMD ["/usr/bin/bash", "-c", "/usr/bin/ncat --no-shutdown -k -l -c '/usr/bin/sleep 3 && echo HTTP/1.1 200 OK' -o /var/tmp/webhook/revocation_log $WEBHOOK_SERVER_PORT"] |
2 changes: 1 addition & 1 deletion
2
container/functional/keylime_ipv6_multihost/payload-script/autorun.sh
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,2 +1,2 @@ | ||
#!/bin/bash | ||
cp test_payload_file /var/tmp/ | ||
cp test_payload_file /var/lib/keylime |
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