From a5e3d4e0e53081b4da1348902d8a39fc8976f630 Mon Sep 17 00:00:00 2001 From: Pol Henarejos Date: Mon, 20 Mar 2023 18:01:48 +0100 Subject: [PATCH] Added dockerfile for debian. Signed-off-by: Pol Henarejos --- tests/docker/bullseye/Dockerfile | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 tests/docker/bullseye/Dockerfile diff --git a/tests/docker/bullseye/Dockerfile b/tests/docker/bullseye/Dockerfile new file mode 100644 index 0000000..cd07218 --- /dev/null +++ b/tests/docker/bullseye/Dockerfile @@ -0,0 +1,30 @@ +FROM debian:bullseye + +ARG DEBIAN_FRONTEND=noninteractive + +RUN apt update && apt upgrade -y +RUN apt install -y apt-utils +RUN apt install -y libccid \ + libpcsclite-dev \ + git \ + autoconf \ + pkg-config \ + libtool \ + help2man \ + automake \ + gcc \ + make \ + build-essential \ + opensc \ + python3 \ + python3-pip \ + swig \ + cmake \ + && rm -rf /var/lib/apt/lists/* +RUN pip3 install pytest pycvc cryptography pyscard +RUN git clone https://github.com/frankmorgner/vsmartcard.git +WORKDIR /vsmartcard/virtualsmartcard +RUN autoreconf --verbose --install +RUN ./configure --sysconfdir=/etc +RUN make && make install +WORKDIR /