Compare commits

..

1 Commits

Author SHA1 Message Date
Ryan Heywood 8e8451ec26
Containerfile: initial commit 2024-09-04 15:10:20 -04:00
2 changed files with 55 additions and 0 deletions

24
Containerfile Normal file
View File

@ -0,0 +1,24 @@
# build various sites using mdbook
FROM scratch AS base
COPY quorum-key-management /quorum-key-management
FROM base AS build
COPY --from=stagex/mdbook . /
WORKDIR /quorum-key-management
RUN ["/usr/bin/mdbook", "build"]
FROM stagex/filesystem AS install
COPY --from=stagex/python . /
COPY --from=stagex/musl . /
COPY --from=stagex/zlib . /
ADD index.html /var/www/html/
COPY --from=build /quorum-key-management/book /var/www/html/qkm
WORKDIR /var/www/html
ENTRYPOINT ["/usr/bin/python", "-m", "http.server", "8080"]

31
index.html Normal file
View File

@ -0,0 +1,31 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Distrust Documentation</title>
</head>
<style>
body {
font-family: "Work Sans", sans-serif;
}
a:link {
color: lightblue;
background-color: transparent;
text-decoration: none;
}
</style>
<body style=" padding: 10% 20%; background: #282828; color: white">
<div >
<h1>Distrust Documentation</h1>
<p><a href="/qkm">Quorum Key Management</a> (QKM): An open source system of
playbooks and tooling which facilitates the creation and maintenance of
highly resilient Quorum-based Key Management Systems based on a strict
threat model, usable for a variety of cryptographic algorithms.</p>
</div>
</body>
</html>