diff options
-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, |