diff options
author | Wiktor Kwapisiewicz <wiktor@metacode.biz> | 2021-04-20 11:38:24 +0200 |
---|---|---|
committer | Wiktor Kwapisiewicz <wiktor@metacode.biz> | 2021-04-22 09:29:59 +0200 |
commit | c791da6828af21ae22c53eedfa9eabf040f6f241 (patch) | |
tree | 507d56882f7dabddaa75d52d36ef3bdc5a67948b /README.md | |
parent | 7289e771d0f93dda4b353a9ac3a1f55f5a375938 (diff) |
doc: Add instructions on using Docker to build sq.
- This shows how to use Docker to build both sq and sqv.
- Attached example show how to use the image to do basic operations
using sq container.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -197,6 +197,23 @@ the C API. these add `PYTHON=disable` to all `make` invocations. E.g. `make PYTHON=disable`. +Using Docker +------------ + +Command line tools can also be built using Docker: + +```shell +$ docker build -t sq . +$ docker run --rm -i sq --help +``` + +For example retrieving a certificate and inspecting its contents: + +```shell +$ docker run --rm -i sq keyserver get 653909A2F0E37C106F5FAF546C8857E0D8E8F074 > cert.asc +$ docker run --rm -i sq packet dump < cert.asc +``` + ## Requirements To build Sequoia, you need at least Rust 1.48 and a few libraries, |