diff --git a/osmo-remsim-master/Dockerfile b/osmo-remsim-master/Dockerfile index 3c5c5ccd..0a15d936 100644 --- a/osmo-remsim-master/Dockerfile +++ b/osmo-remsim-master/Dockerfile @@ -3,6 +3,21 @@ FROM $USER/debian-stretch-build MAINTAINER Harald Welte +# PC/SC required for testing of bankd (with vpcd) +# autoconf, automake, libtool, pkg-config, m4, help2man required for virtualsmartcard +RUN apt-get update && \ + apt-get install -y --no-install-recommends \ + libpcsclite-dev \ + pcscd \ + pcsc-tools \ + autoconf automake libtool pkg-config m4 help2man ca-certificates && \ + apt-get clean + +# build virtualsmartcard +RUN git clone https://github.com/frankmorgner/vsmartcard.git +RUN cd vsmartcard/virtualsmartcard && autoreconf -fi && ./configure && make -j8 install + + ARG OSMOCOM_REPO="http://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_9.0/" COPY Release.key /tmp/Release.key