This commit is contained in:
13
Dockerfile
Normal file
13
Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
||||
FROM rust
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
vsmartcard-vpcd libpcsclite-dev pcscd opensc git libclang-dev nettle-dev \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
RUN cargo install --features="vpicc" --git https://github.com/Nitrokey/opcard-rs#v1.3.0 --example vpicc opcard
|
||||
RUN cargo install openpgp-card-tools rage
|
||||
COPY Cargo.toml Cargo.lock README.md /app/
|
||||
COPY src /app/src
|
||||
WORKDIR /app/
|
||||
RUN cargo install --path .
|
||||
COPY scripts /app/scripts
|
||||
RUN ./scripts/encrypt-decrypt.sh
|
||||
Reference in New Issue
Block a user