diff options
author | Nora Widdecke <nora@sequoia-pgp.org> | 2021-07-08 15:51:43 +0200 |
---|---|---|
committer | Nora Widdecke <nora@sequoia-pgp.org> | 2021-07-09 21:54:51 +0200 |
commit | 35ab4fda4dc2c020ac9b8d3f8f84290e3627d4b2 (patch) | |
tree | 7be65cf4778f2b6777382db34cae53043e22bc17 | |
parent | c84b096add1d05afc41cc94b35a9db15bac0afea (diff) |
docker: Remove sqv.
-rw-r--r-- | Dockerfile | 12 | ||||
-rw-r--r-- | README.md | 9 |
2 files changed, 1 insertions, 20 deletions
@@ -40,11 +40,9 @@ USER builder # the `build-release` target is used instead of the default because # `install` calls it after anyways RUN cd /home/builder/sequoia && \ - CARGO_TARGET_DIR=target cargo build -p sequoia-sqv --release && \ CARGO_TARGET_DIR=target cargo build -p sequoia-sq --release && \ install --strip -D --target-directory /opt/usr/local/bin \ target/release/sq \ - target/release/sqv FROM debian:bullseye-slim AS sq-base @@ -58,16 +56,6 @@ RUN groupadd user && \ apt-get clean && \ rm -fr -- /var/lib/apt/lists/* /var/cache/* -FROM sq-base AS sqv - -COPY --from=build /opt/usr/local/bin/sqv /usr/local/bin/sqv - -USER user - -WORKDIR /home/user -ENTRYPOINT ["/usr/local/bin/sqv"] -CMD ["--help"] - FROM sq-base AS sq COPY --from=build /opt/usr/local/bin/sq /usr/local/bin/sq @@ -178,7 +178,7 @@ build `sequoia-openpgp-ffi` to build a shared object with the C API. Using Docker ------------ -Command line tools can also be built using Docker: +The command line tool `sq` can also be built using Docker: ```shell $ docker build -t sq . @@ -192,13 +192,6 @@ $ docker run --rm -i sq keyserver get 653909A2F0E37C106F5FAF546C8857E0D8E8F074 > $ docker run --rm -i sq packet dump < cert.asc ``` -Building and running `sqv` the command line OpenPGP signature verification tool: - -```shell -docker build --target sqv -t sqv -docker run --rm -i sqv --help -``` - ## Requirements To build Sequoia, you need at least Rust 1.48 and a few libraries, |