# SPDX-FileCopyrightText: 2023 Heiko Schaefer # SPDX-License-Identifier: CC0-1.0 FROM registry.gitlab.com/openpgp-card/virtual-cards/canokey-fedora RUN dnf -y install cargo rustc nettle-devel clang-devel sequoia-sq # Pull in and build project sources COPY . /build WORKDIR /build RUN cargo build RUN sh /start.sh >/dev/null \ && sh cli/ci/canokey/testrun.sh rsa2048 \ && sh cli/ci/canokey/testrun.sh nist-p256 \ && sh cli/ci/canokey/testrun.sh nist-p384 \